-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing comma breaks cosmos.azure.aio.CosmosClient.from_connection_string() #22514
Comments
Hi @taybin, thank you for opening an issue! I'll tag the appropriate folks so we can look into this as soon as possible. |
Do both this If |
Hi @stevesimmons, I see what you mean, and this is something we plan to take care of as a future effort. Python3 best practices insist on not using kwargs for most arguments being passed into functions, and to align with this we will be making those changes soon (specially for the async client since it's new). We have an issue created to track this effort. Thank you for pointing this out! |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @simorenoh, @gahl-levy. Issue Details
Describe the bug azure-sdk-for-python/sdk/cosmos/azure-cosmos/azure/cosmos/aio/cosmos_client.py Lines 159 to 164 in 9eca55e
This results in python trying to use the To Reproduce
Expected behavior Additional context
Running a linter on python code is very helpful for catching these sort of issues.
|
Describe the bug
A comma is missing at the end of line 162:
azure-sdk-for-python/sdk/cosmos/azure-cosmos/azure/cosmos/aio/cosmos_client.py
Lines 159 to 164 in 9eca55e
This results in python trying to use the
**
operator on a string and a dict and it throws an exception.To Reproduce
cosmos.aure.aio.CosmosClient.from_connection_string()
Expected behavior
The function should not throw an exception
Additional context
Full stack trace:
Running a linter on python code is very helpful for catching these sort of issues.
The text was updated successfully, but these errors were encountered: