Open
Description
- Package Name:
azure-cosmos
- Package Version: 4.9.0
- Operating System: Linux
- Python Version: 3.12
Describe the bug
When using azure.cosmos.aio
, the aiohttp
dependency is not installed by default. I am not able to see any docs
To Reproduce
Steps to reproduce the behavior:
Calling azure.cosmos.aio.CosmosClient.from_connection_string("replace_with_conn_string")
will give a ModuleNotFoundError: No module named 'aiohttp'
if not explicitly installed
Expected behavior
I think the best solution would be to define extras
for the azure-cosmos
package that also installs necessary dependencies for the async functions, e.g azure-cosmos[aio]
. It would also be good if this documented
Screenshots
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
This issue points to a problem in the data-plane of the library.Workflow: This issue is responsible by Azure service team.Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK teamThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Projects
Status
No status