-
Notifications
You must be signed in to change notification settings - Fork 3.3k
aiohttp not defined as a dependency to azure-cosmos #41737
Copy link
Copy link
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.CosmosService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.CosmosService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
azure-cosmosDescribe the bug
When using
azure.cosmos.aio, theaiohttpdependency is not installed by default. I am not able to see any docsTo Reproduce
Steps to reproduce the behavior:
Calling
azure.cosmos.aio.CosmosClient.from_connection_string("replace_with_conn_string")will give aModuleNotFoundError: No module named 'aiohttp'if not explicitly installedExpected behavior
I think the best solution would be to define
extrasfor theazure-cosmospackage that also installs necessary dependencies for the async functions, e.gazure-cosmos[aio]. It would also be good if this documentedScreenshots
N/A
Additional context
N/A