You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "krishnakaanchan-png (via GitHub)" <gi...@apache.org> on 2026/09/01 19:20:05 UTC

Re: [I] Replace azure-cosmos by azure-mgmt-cosmosdb [airflow]

krishnakaanchan-png commented on issue #9742:
URL: https://github.com/apache/airflow/issues/9742#issuecomment-5499158018

   This one is already done, only not in the way the description asks.
   
   The provider depends on both packages today, `azure-cosmos>=4.6.0` and `azure-mgmt-cosmosdb>=3.0.0`, and each is used for what it is meant for. `CosmosDBManagementClient` is used in `AzureCosmosDBHook.get_conn` to fetch the account keys through `database_accounts.list_keys`, which is a control plane call. The actual document work, `create_item`, `create_container`, `get_database_client` and the rest, goes through `CosmosClient` which is the data plane SDK.
   
   So replacing `azure-cosmos` with `azure-mgmt-cosmosdb` is not possible, the management SDK has no document APIs. Same point as #9741.
   
   Suggest closing this one also.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org