Skip to content

[Cosmos] Bugfix: async create_container_if_not_exists throwing unexpected keyword argument on read() method#29136

Merged
simorenoh merged 2 commits intoAzure:mainfrom
simorenoh:create_container_if_not_exists_bugfix
Mar 3, 2023
Merged

[Cosmos] Bugfix: async create_container_if_not_exists throwing unexpected keyword argument on read() method#29136
simorenoh merged 2 commits intoAzure:mainfrom
simorenoh:create_container_if_not_exists_bugfix

Conversation

@simorenoh
Copy link
Copy Markdown
Member

@simorenoh simorenoh commented Mar 3, 2023

Closes #25318.
Bugfix for create_if_not_exists() when passing in kwargs that don't apply to read method. Now we pop the kwargs pre-emptively to calling read() and ensure that the method is not populated with irrelevant options, matching behavior of sync client.
image

@azure-sdk
Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

@simorenoh simorenoh merged commit b571e19 into Azure:main Mar 3, 2023
@simorenoh simorenoh deleted the create_container_if_not_exists_bugfix branch March 3, 2023 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

3 participants