I've tried to run the query on the container (azurecosmosdb) using the parameter 'priority_level="High"' it was throwing below exception while trying to run the below code.
Note:- below code written in python
Error details:-
I've tried to run the query on the container (azurecosmosdb) using the parameter 'priority_level="High"' it was throwing below exception while trying to run the below code.
Note:- below code written in python
Error details:-


You're most probably running an old version of
azure-sdk-for-python. Thepriority_levelargument preview feature was only merged into theAzure:mainbranch on October 11th.You can check out the PR here.
Also, as-per the release notes on GitHub, you're going to need to enable the
priority_levelpreview feature on theaccount levelin Azure.EDIT You can find details regarding Priority Based Execution for CosmosDB on this blog post from Microsoft.
According to this, you'll need to fill out a nomination for to enable to feature for your account here.