azure-cosmos CosmosClient.query_databases "parameters" argument incorrect typing #31811
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.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
Type inconsistency between https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cosmosdb_9.2.0/sdk/cosmos/azure-cosmos/azure/cosmos/cosmos_client.py#L389 and https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cosmosdb_9.2.0/sdk/cosmos/azure-cosmos/samples/database_management.py#L41-L46.
To Reproduce.
Expected behavior
The type of https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cosmosdb_9.2.0/sdk/cosmos/azure-cosmos/azure/cosmos/cosmos_client.py#L389 should be
list[dict[str, Any]]
insteadScreenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: