Is it possible to connect use dedicated gateway and integrated cache with managed identity from python sdk
I wanted to connect from azure function (python) to azure cosmos nosql database with managed identity credential. As far as I understand from https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-configure-integrated-cache, I did not find anything apart from connection strings.
With following code, I am able to work with cosmosdb account URL, but there are no hits on integrated cache:
cosmos_uri = get_cosmos_url(environment)
credential = ManagedIdentityCredential(client_id=os.environ["AZURE_CLIENT_ID"])
client = CosmosClient(cosmos_uri,credential)
It is mentioned to send consistency level with each request for python SDK, but I cannot find any option to do so in https://azuresdkdocs.blob.core.windows.net/$web/python/azure-cosmos/4.7.0/azure.cosmos.html
Kindly guide.