Skip to content

feat(predictions): add packshot overload to subscribe()#16

Merged
relferreira merged 1 commit into
nextfrom
feat/packshot
May 25, 2026
Merged

feat(predictions): add packshot overload to subscribe()#16
relferreira merged 1 commit into
nextfrom
feat/packshot

Conversation

@relferreira
Copy link
Copy Markdown
Collaborator

Summary

  • Adds packshot overload to PredictionsResource.subscribe() (sync)
  • Adds packshot overload to AsyncPredictionsResource.subscribe() (async)
  • Syncs subscribe() with run(), which already supported packshot

Test plan

  • Verify client.predictions.subscribe(model_name="packshot", inputs=...) type-checks correctly
  • Verify async variant works the same way

Sync subscribe() overloads with run() by adding the missing packshot
model to both PredictionsResource and AsyncPredictionsResource.
@relferreira relferreira merged commit 4f9ce13 into next May 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant