-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added new to type stub + fixed type hinting #717
Conversation
✅ Deploy Preview for poetic-froyo-8baba7 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
could you also unlock |
other than the comments, looks fine |
7ae803a
to
fe586da
Compare
fe586da
to
21e93d5
Compare
could you please regenerate poetry.lock |
@@ -62,16 +62,16 @@ def get_args_subscribed(tp): # type: ignore | |||
rest.PayloadSchemaType, rest.PayloadSchemaParams, int, grpc.PayloadIndexParams | |||
] # type(grpc.PayloadSchemaType) == int | |||
PointStruct: TypeAlias = rest.PointStruct | |||
Points = Union[rest.Batch, List[Union[rest.PointStruct, grpc.PointStruct]]] | |||
Points = Union[rest.Batch, Sequence[Union[rest.PointStruct, grpc.PointStruct]]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LocalCollection.upsert
should become Union[Sequence[models.PointStruct], models.Batch]
then
* added new to type stub + fixed type hinting * unlocked pyright + updated type_stub * updated poetry lock * fix: fix local collection upsert type hint --------- Co-authored-by: George Panchuk <[email protected]>
All Submissions:
dev
branch. Did you create your branch fromdev
?New Feature Submissions:
pre-commit
withpip3 install pre-commit
and set up hooks withpre-commit install
?Changes to Core Features: