typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Wrong type annotation for ndb.get_multi_async() and ndb.get_multi()

Open vthorsteinsson opened this issue 1 year ago • 0 comments

In reference to the following two function declarations:

https://github.com/python/typeshed/blob/fa70187245751c6fd4d057534af7f9ae3e74a25f/stubs/google-cloud-ndb/google/cloud/ndb/model.pyi#L419

https://github.com/python/typeshed/blob/fa70187245751c6fd4d057534af7f9ae3e74a25f/stubs/google-cloud-ndb/google/cloud/ndb/model.pyi#L437

The type of the keys parameter should be Sequence[key_module.Key], not Sequence[type[key_module.Key]].

vthorsteinsson avatar Jul 30 '24 11:07 vthorsteinsson