You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added Response Headers to Control Plane Operations (#41742)
* added response headers to control plane operations
* test cleanup
* corrected response headers and added return type of cosmosDict
* added response headers to throughputProperties class
* edited getting response headers for thread safety
* added overload methods and tests for control plane operations
* changed return_type to return_header boolean to simplify code
* added headers for replace throughput
* added create container and database if not exists negative handling and tests
* changed return_headers to return_properties
* added changes from git comments
* returns tuple for previous container and db proxy operations, added samples
* matching sync and async positional parameters
* Update sdk/cosmos/azure-cosmos/azure/cosmos/aio/_cosmos_client.py
Co-authored-by: Tomas Varon <[email protected]>
* Update sdk/cosmos/azure-cosmos/azure/cosmos/aio/_database.py
Co-authored-by: Tomas Varon <[email protected]>
* added changes from pr comments
* bug fix for replace_container
* fixed pylint errors
* fixed positional arg errors
* fixed pylint errors
* fixed pos args ttl test
* changed back positional parameters to avoid breaking changes
* fixed return typing errors
* bugfixes from mypy pipeline
* testing changes for mypy errors
* testing type change for mypy errors
* testing fix for mypy errors
* database fixes for mypy errors
* testing mypy/pylint fixes for overloads
* adding docstring changes for overloaded functions
* pylint fixes
* fixing pylint errors for param types
* testing changes for return value error in mypy and pylint fixes
* reverting return type back to dict[str, Any] for get_client_container_caches
* testing variable changes for mypy
* testing changes for mypy
* testing changes for mypy back to original dict
* got rid of extra library import
* fixed indent issue
* reverted back to original type of Dict for get_properties()
* minor fixes
* Update sdk/cosmos/azure-cosmos/azure/cosmos/offer.py
Co-authored-by: Anna Tisch <[email protected]>
* made suggested changes
* added suggestions for sync and async methods
* added to docstring for overloaded methods
* changed wording for return_properties in docstring
* added suggested docstring changes
* wording change for database proxy return type
* minor bugfix for docstring
* added to changelog
---------
Co-authored-by: Andrew Mathew <[email protected]>
Co-authored-by: Tomas Varon <[email protected]>
Co-authored-by: Anna Tisch <[email protected]>
Copy file name to clipboardExpand all lines: sdk/cosmos/azure-cosmos/CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
### 4.14.0b5 (Unreleased)
4
4
5
5
#### Features Added
6
-
6
+
* Added ability to return a tuple of a DatabaseProxy/ContainerProxy with the associated database/container properties when creating or reading databases/containers through `return_properties` parameter. See [PR 41742](https://github.com/Azure/azure-sdk-for-python/pull/41742)
0 commit comments