Inaccurate type comment in functions for azure-cosmos package #12570
Labels
Client
This issue points to a problem in the data-plane of the library.
Cosmos
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Describe the bug
For the query related functions in container.py which has the optional "parameters", all theses functions comment the parameters with type Optional[List[str]]. This leads to code highlit and warning in IDE.
To Reproduce
Steps to reproduce the behavior:
When using this demo code, IDE will give a warning on the type of "parameters".
Expected behavior
Change the type comment of "parameters" of query functions to Optional[List[dict]].
The text was updated successfully, but these errors were encountered: