Skip to content
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

[storage] pass in tier by param name instead of in headers #24668

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

iscai-msft
Copy link
Contributor

There is a clash in the old code between passing in arguments through the headers keyword arg, and through the param name. Our new code handles this more consistently, and here since the tier param corresponds to the x-ms-access-tier header, we end up choosing the default value of the tier param over the header. Changing the code to pass it by argument name instead

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Jun 1, 2022
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-storage-blob

Copy link
Member

@jalauzon-msft jalauzon-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this! Assuming Live tests pass, this lgtm!

@iscai-msft iscai-msft merged commit 3d13c0c into Azure:main Jun 1, 2022
@iscai-msft iscai-msft deleted the fix_storage_tier branch June 1, 2022 23:30
sarkar-rajarshi pushed a commit to sarkar-rajarshi/azure-sdk-for-python that referenced this pull request Jun 9, 2022
sarkar-rajarshi pushed a commit to sarkar-rajarshi/azure-sdk-for-python that referenced this pull request Jun 9, 2022
xiangyan99 added a commit that referenced this pull request Jun 15, 2022
* [HDInsight] Use value from fake credential store in tests (#24274)

* [textanalytics] fix for 429 (#24279)

* try fix for 429

* revert

* [SchemaRegistry] docs/mypy updates (#24283)

* eh changelog data/setup.py stable

* sr/avro changelog

* mypy errors + update generated code

* update test

* run black

* update core mindep + pylint errors

* lint

* Update `azure-template` to reflect py27 only updates (#24285)

* [textanalytics] decorator to validate multiapi  (#24281)

* add validation decorator for multiapi args since inputs changed from v3.x to language api

* add tests

* Visibility Timeout Doc Correction (#21463)

* settings files

* gitignore

* fixed documentation

* async

* Remove Storage code owners (#24286)

* [KeyVault] Keyvault Keys to Test Proxy (#24165)

* move conftest into the tests folder

* test proxy changes

* new recordings

* more recordings for crud

* sync test recordings

* move over to test proxy

* kv async recordings

* simple clean ups

* recordings

* clean up imports

* pick right vault name

* clean up

* fix test parse id offline test

* override pytest default event loop

* fix for async tests, change to aiohttp request

* remove commented code

* formatting fixes

* Delete vcrpy recordings

* with block for async client

* clean up

* code clean ups

* move keys specific methods in to a separate class

* PR comments

* refactor test to use preparer

* update changelog (#24292)

* update changelog

* update changelog

* Update the version tool to the latest (#24288)

Co-authored-by: sima-zhu <[email protected]>

* [textanalytics] regen on 2022-04-01-preview + rerecord (#24280)

* regen on april preview version

* updates to handwritten layer for api version change

* rerecord

* fix

* add fhir to cspell

* skip samples due to service bug

* fixes and recordings for healthcare cancel with april api version

* fix tests

* actually fix tests

* oops

* [Storage] Add progress callback to `download_blob` methods (#24276)

* [formrecognizer] Fix documentation (#24269)

* fix missing brackets in docs

* remove extra brackets

* [textanalytics] support for healthcare action + FHIR (#24298)

* add impl for healthcare action + fhir and tests

* update changelog

* updates for validate + tests

* [AutoRelease] t2-resource-2022-04-28-85137(Do not merge) (#24220)

* code and test

* update version

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Jiefeng Chen <[email protected]>

* [AutoRelease] t2-msi-2022-04-29-61348(Do not merge) (#24250)

* code and test

* update version

* update changelog

* Update CHANGELOG.md

* update version

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* optimize change_log (#24252)

* optimize change_log

* Update change_log.py

* Update code_report.py

* Update code_report.py

* Update code_report.py

* Update code_report.py

* Update code_report.py

* [Key Vault] Correctly skip unconfigured tests (#24301)

* [KeyVault] KV Certificates to test proxy (#24256)

* sync test mods

* add in a conftest for certs

* sync recordings

* minor update to remove method

* clean up imports

* async recordings

* async test to test proxy

* clean up imports

* PR comments

* uncomment out skip

* record failing tests

* delete old recordings

* minor clean up

* Disable Azure Artifact Docker Warnings (#24300)

* disable docker warning until 24299 is complete

Co-authored-by: Wes Haggard <[email protected]>

* Update pipeline-generator version (#24313)

Co-authored-by: Patrick Hallisey <[email protected]>

* [core] move SerializationError and DeserializationError to exceptions (#24312)

* move exceptions to exceptions

* update changelog

* fix changelog

* Update CHANGELOG.md

Co-authored-by: Xiang Yan <[email protected]>

* batch dropping 2.7 (#24295)

* batch dropping 2.7

* Packaging update of azure-servicefabric

* Packaging update of azure-iot-modelsrepository

* update

* update

* update

* update

* update

* ensure that the readme type is set properly

Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: scbedd <[email protected]>

* [Storage] Prepare for STG82 GA release (#24316)

* [Tables] Add multitenant challenge auth policy support (#24278)

* Update change_log.py (#24322)

fix bug

* Increment version for core releases (#24331)

Increment package version after release of azure-core

* Prepare monitor for release (#24332)

* doc changes

* changelog

* oops

* [Tables] Fix odata serialization (#24290)

* Fix odata serialization

* Support int32 validation

* Add test recordings

* Update all affected recordings

* Redact tokens

* Update changelog

* Improved comments

Co-authored-by: McCoy Patiño <[email protected]>

* Adjusted testcase (#24335)

* [AutoRelease] t2-recoveryservicesbackup-2022-04-29-79596 (#24243)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* code and test (#24319)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-chaos-2022-04-28-73429 (#24219)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [RecoverServices] Temporarily delete invalid links (#24340)

* Update sdk_packaging.toml

* Packaging update of azure-mgmt-recoveryservices

Co-authored-by: Azure SDK Bot <[email protected]>

* update (#24341)

* update template (#24343)

* [DPG][pipeline] integration to swagger pipeline (#24355)

* add data-plane generation

* choose different config file

* Create communication samples (#24268)

* [SchemaRegistry] avro update docstring (#24364)

* [AutoRelease] t2-redhatopenshift-2022-05-05-85576(Do not merge) (#24302)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [ACR] Pull/push support for OCI manifest and blob (#24004)

* [AutoRelease] t2-network-2022-04-28-56088(Do not merge) (#24228)

* code and test

* Update CHANGELOG.md

* update test result

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>

* Increment package version after release of azure-identity (#24371)

* [KeyVault] Administration Test to Test Proxy (#24334)

* conftest changes for pytest

* async preparers

* initial test proxy changes

* changes for proper hsm url

* converted to tp

* recordings

* sync recordings

* async recordings

* re-record

* re-recordings

* async changes

* sync changes

* minor fix

* remove variables

* comments for PR

* new recordings

* Increment version for eventhub releases (#24376)

Increment package version after release of azure-eventhub

* Package py.typed file (#24361)

* Package py.typed file

* cspell

* [textanalytics] update documentation (#24318)

* renames from TA->Language for samples

* update docstrings, readme, changelog

* update language

* fix readme toc

* missed an instance

* include healthcare action on readme list

* feedback

* add sentence about dropping v3.2-preview.2

* [Docs] update guidance for test (#23955)

* update test doc

* Update tests.md

* Update tests.md

* remove vcrpy

* regen on official swagger / remove local swagger (#24382)

* Increment package version after release of azure-containerregistry (#24388)

* Increment package version after release of azure-data-tables (#24389)

* [App] deprecate app package (#24393)

* deprecate app package

* Update CHANGELOG.md

* Update _version.py

* Update README.md

Co-authored-by: Yuchao Yan <[email protected]>

* add test (#24394)

* [change_log] write a script for change_log (#23952)

* write a script for change_log

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* check_change_log

* Update README.md

* Update README.md

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* update

* update

* delete

* Update README.md

* Update main.py

* update

* Update main.py

Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Jiefeng Chen <[email protected]>

* Increment version for schemaregistry releases (#24375)

Increment package version after release of azure-schemaregistry-avroencoder

* [Cosmos] post-archboard fixes (#24358)

* initial commit

* Client Constructor (#20310)

* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <[email protected]>

* read database

database read works, but ignored exception is returned:
Fatal error on SSL transport
NoneType has no attribute 'send' (_loop._proactor.send)
RuntimeError: Event loop is closed
Unclosed connector/ connection

* Update simon_testfile.py

* with coroutine

Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed"

* Update simon_testfile.py

* small changes

* async with returns no exceptions

* async read container

* async item read

* cleaning up

* create item/ database methods

* item delete working

* docs replace functionality

missing upsert and other resources

* upsert functionality

missing read_all_items and both query methods for container class

* missing query methods

* CRUD for udf, sproc, triggers

* initial query logic + container methods

* missing some execution logic and tests

* oops

* fully working queries

* small fix to query_items()

also fixed README and added examples_async

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* documentation update

* updated MIT dates and get_user_client() description

* Update CHANGELOG.md

* Delete simon_testfile.py

* leftover retry utility

* Update README.md

* docs and removed six package

* changes based on comments

still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests)

* small change in type hints

* updated readme

* fixes based on conversations

* added missing type comments

* update changelog for ci pipeline

* added typehints, moved params into keywords, added decorators, made _connection_policy private

* changes based on sync with central sdk

* remove is_system_key from scripts (only used in execute_sproc)

is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless

* Revert "remove is_system_key from scripts (only used in execute_sproc)"

Reverting last commit, will find way to init is_system_key for now

* async script proxy using composition

* pylint

* capitalized constants

* Apply suggestions from code review

Clarifying comments for README

Co-authored-by: Gahl Levy <[email protected]>

* closing python code snippet

* last doc updates

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Simon Moreno <[email protected]>

* version update

* cosmos updates for release

* fix connection string comma

* Update CHANGELOG.md

* fixing extra await keyword in sample

* Update CHANGELOG.md

* Update CHANGELOG.md

* get_authorization_header

* remove __aenter__

Co-authored-by: annatisch <[email protected]>
Co-authored-by: Gahl Levy <[email protected]>
Co-authored-by: Travis Prescott <[email protected]>

* [translation] doc fixes (#24381)

* doc updates

* fix pylint

* Increment version for storage releases (#24377)

Increment package version after release of azure-storage-file-share

* Update tox.ini (#24401)

Pin to 0.2.11

* add CertificateCredential sample (#24400)

* add CertificateCredential sample

* update

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

Co-authored-by: McCoy Patiño <[email protected]>

* Update readme for -pre and -post TestResource scripts (#24405)

Co-authored-by: Christopher Scott <[email protected]>

* [AutoRelease] t2-datafactory-2022-05-05-52029(Do not merge) (#24304)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* create doc (#24419)

* Update Azure monitor OpenTelemetry exporter example (#24422)

* String parsing improvements to service directory resource names (#24398)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* Update semantic convention mappings (#24366)

* [Cosmos] use python3 typehints and move options to kwargs on async client (#23933)

* initial commit

* Client Constructor (#20310)

* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <[email protected]>

* read database

database read works, but ignored exception is returned:
Fatal error on SSL transport
NoneType has no attribute 'send' (_loop._proactor.send)
RuntimeError: Event loop is closed
Unclosed connector/ connection

* Update simon_testfile.py

* with coroutine

Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed"

* Update simon_testfile.py

* small changes

* async with returns no exceptions

* async read container

* async item read

* cleaning up

* create item/ database methods

* item delete working

* docs replace functionality

missing upsert and other resources

* upsert functionality

missing read_all_items and both query methods for container class

* missing query methods

* CRUD for udf, sproc, triggers

* initial query logic + container methods

* missing some execution logic and tests

* oops

* fully working queries

* small fix to query_items()

also fixed README and added examples_async

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* documentation update

* updated MIT dates and get_user_client() description

* Update CHANGELOG.md

* Delete simon_testfile.py

* leftover retry utility

* Update README.md

* docs and removed six package

* changes based on comments

still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests)

* small change in type hints

* updated readme

* fixes based on conversations

* added missing type comments

* update changelog for ci pipeline

* added typehints, moved params into keywords, added decorators, made _connection_policy private

* changes based on sync with central sdk

* remove is_system_key from scripts (only used in execute_sproc)

is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless

* Revert "remove is_system_key from scripts (only used in execute_sproc)"

Reverting last commit, will find way to init is_system_key for now

* async script proxy using composition

* pylint

* capitalized constants

* Apply suggestions from code review

Clarifying comments for README

Co-authored-by: Gahl Levy <[email protected]>

* closing python code snippet

* last doc updates

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Simon Moreno <[email protected]>

* version update

* cosmos updates for release

* public surface area python3 typehints

* fix connection string comma

* Update CHANGELOG.md

* fixing extra await keyword in sample

* Update CHANGELOG.md

* Update CHANGELOG.md

* simplified short types into one line and moved many options to kwargs

* missed additional Callable definitions

* pylint

* addressed several comments, thank you Travis

* Update CHANGELOG.md

* Callable typehints

* Update CHANGELOG.md

* bets practices recommends using string partition keys

* Revert "bets practices recommends using string partition keys"

This reverts commit d44502ffc7b01b03a9ea99d68e2d24ee5d8772c3.

* Update sdk/cosmos/azure-cosmos/azure/cosmos/container.py

Co-authored-by: Anna Tisch <[email protected]>

* changes from meeting

* Update CHANGELOG.md

* update query types

* Update dev_requirements.txt

* Update setup.py

* type checking for tokencredential

* Revert "type checking for tokencredential"

This reverts commit 4eadc978b67f36af497e51925ad281e28fa7e10a.

* update shared_requirements

* anna comments

* pylint?

* Update _scripts.py

Co-authored-by: annatisch <[email protected]>
Co-authored-by: Gahl Levy <[email protected]>
Co-authored-by: Travis Prescott <[email protected]>

* Update Azure Account ext. workaround guidance (#24429)

* fix typing (#24424)

* fix typing

* update

* code (#24253)

* code and test (#24432)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [VideoAnalyzer] deprecate package (#24434)

* deprecate

* Update sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py

Co-authored-by: Yuchao Yan <[email protected]>

* [VideoAnalyzer] deprecate videoanalyzer (#24436)

* deprecate

* Update sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py

* fix link

Co-authored-by: Yuchao Yan <[email protected]>

* add option for key credential (#24437)

* add option for key credential (#24437)

* [Cosmos] mark populate_query_metrics flag to be deleted when used and remove docs (#22264)

* initial commit

* Client Constructor (#20310)

* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <[email protected]>

* read database

database read works, but ignored exception is returned:
Fatal error on SSL transport
NoneType has no attribute 'send' (_loop._proactor.send)
RuntimeError: Event loop is closed
Unclosed connector/ connection

* Update simon_testfile.py

* with coroutine

Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed"

* Update simon_testfile.py

* small changes

* async with returns no exceptions

* async read container

* async item read

* cleaning up

* create item/ database methods

* item delete working

* docs replace functionality

missing upsert and other resources

* upsert functionality

missing read_all_items and both query methods for container class

* missing query methods

* CRUD for udf, sproc, triggers

* initial query logic + container methods

* missing some execution logic and tests

* oops

* fully working queries

* small fix to query_items()

also fixed README and added examples_async

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* documentation update

* updated MIT dates and get_user_client() description

* Update CHANGELOG.md

* Delete simon_testfile.py

* leftover retry utility

* Update README.md

* docs and removed six package

* changes based on comments

still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests)

* small change in type hints

* updated readme

* fixes based on conversations

* added missing type comments

* update changelog for ci pipeline

* added typehints, moved params into keywords, added decorators, made _connection_policy private

* changes based on sync with central sdk

* remove is_system_key from scripts (only used in execute_sproc)

is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless

* Revert "remove is_system_key from scripts (only used in execute_sproc)"

Reverting last commit, will find way to init is_system_key for now

* async script proxy using composition

* pylint

* capitalized constants

* Apply suggestions from code review

Clarifying comments for README

Co-authored-by: Gahl Levy <[email protected]>

* closing python code snippet

* last doc updates

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Simon Moreno <[email protected]>

* version update

* cosmos updates for release

* send user warning for use of populate_query_metrics flag

* Update CHANGELOG.md

* Update container.py

* added tests

* avoid index errors

* Update CHANGELOG.md

Co-authored-by: annatisch <[email protected]>
Co-authored-by: Gahl Levy <[email protected]>
Co-authored-by: Travis Prescott <[email protected]>

* [Cosmos] Fix failing unit tests (#24287)

* initial commit

* Client Constructor (#20310)

* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <[email protected]>

* read database

database read works, but ignored exception is returned:
Fatal error on SSL transport
NoneType has no attribute 'send' (_loop._proactor.send)
RuntimeError: Event loop is closed
Unclosed connector/ connection

* Update simon_testfile.py

* with coroutine

Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed"

* Update simon_testfile.py

* small changes

* async with returns no exceptions

* async read container

* async item read

* cleaning up

* create item/ database methods

* item delete working

* docs replace functionality

missing upsert and other resources

* upsert functionality

missing read_all_items and both query methods for container class

* missing query methods

* CRUD for udf, sproc, triggers

* initial query logic + container methods

* missing some execution logic and tests

* oops

* fully working queries

* small fix to query_items()

also fixed README and added examples_async

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* documentation update

* updated MIT dates and get_user_client() description

* Update CHANGELOG.md

* Delete simon_testfile.py

* leftover retry utility

* Update README.md

* docs and removed six package

* changes based on comments

still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests)

* small change in type hints

* updated readme

* fixes based on conversations

* added missing type comments

* update changelog for ci pipeline

* added typehints, moved params into keywords, added decorators, made _connection_policy private

* changes based on sync with central sdk

* remove is_system_key from scripts (only used in execute_sproc)

is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless

* Revert "remove is_system_key from scripts (only used in execute_sproc)"

Reverting last commit, will find way to init is_system_key for now

* async script proxy using composition

* pylint

* capitalized constants

* Apply suggestions from code review

Clarifying comments for README

Co-authored-by: Gahl Levy <[email protected]>

* closing python code snippet

* last doc updates

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Simon Moreno <[email protected]>

* version update

* cosmos updates for release

* fix connection string comma

* Update CHANGELOG.md

* fixing extra await keyword in sample

* Update CHANGELOG.md

* Update CHANGELOG.md

* first round of fixes

* Update test_config.py

* round 2

* raising failed result in get_Database_accounts

* small changes

* more small fixes

* Update test_query.py

* Update test_query.py

* Update _global_endpoint_manager.py

Co-authored-by: annatisch <[email protected]>
Co-authored-by: Gahl Levy <[email protected]>
Co-authored-by: Travis Prescott <[email protected]>

* [Cosmos] deprecate offer naming in methods - merge available (#24428)

* copied changes from other PR

* Update test_backwards_compatibility.py

* Update database.py

* add type hints to overload impl (#24406)

* Create test_crud_async.py (#24166)

* Create test_crud_async.py

creating async tests for the crud tests

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

Co-authored-by: simorenoh <[email protected]>

* [textanalytics] unskip tests and rerecord now that kebab-case bug is fixed (#24431)

* unskip tests and rerecord now that kebab case bug is fixed

* check err code

* Add skip variable for remove test resources to support debugging (#24441)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* fix test (#24445)

* code and test (#24457)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* code and test (#24459)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* Update tox.ini (#24425)

Bump api-stub-generator to 0.3.1

* Add other azure samples (#24360)

* chat

* phone

* sms

* keys

* other

* link

* azure-monitor-opentelemetry-exporter update readme (#24461)

* add py.typed files to any packages missing them. update MANIFEST.in to include py.typed. update setup.py where necessary to set flat include_package_data and define package_data arguments for the new py.typed file. Disabling CI to avoid buildstorm: ***NO_CI***

* Enforce proper usage of `py.typed` file (#24409)

*update verify_sdist.py to also validate the configuration of the package WRT py.typed. Enforces setup.py config, MANIFEST.in config, and checks the existence of a py.typed file at the correct folder depth.

Co-authored-by: McCoy Patiño <[email protected]>

* [Doc] Find SDK by Azure-cli command (#24123)

* create doc

* Update find_sdk_in_cli_command.md

* update

* rename tests (#24478)

* [AutoRelease] t2-appcontainers-2022-05-12-62222(Do not merge) (#24407)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: zhenbiao wei <[email protected]>

* Fix CI under `sdk/compute` (#24481)

* trigger update_pr

* Packaging update of azure-mgmt-imagebuilder

* Packaging update of azure-mgmt-vmwarecloudsimple

* Packaging update of azure-mgmt-avs

Co-authored-by: Azure SDK Bot <[email protected]>

* code and test (#24479)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* code and test (#24456)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* Remove locale from links (#24490)

* update release date and fix some docstrings (#24473)

* Share APIView Pins of pylint-guidelines-checker (#24258)

* linting does NOT require the apistubgenpackage. given that it has a conflict with our pinned pylint (2.9.3) we will simply not introduce it to the linting dependency graph. instead we will simply pin 
* pin apistubgen requirements in a separate file

* [Storage] Update Storage mgmt MANIFESTs to include py.typed (#24506)

* Increment version for textanalytics release (#24512)

* patching conda version to current. removing pin of azure-mgmt-resources

* increment azure-ai-textanalytics version

* Temporarily disable `mgmt` enforcement of `py.typed` (#24513)

I missed  a _bunch_ of management packages in my py.typed update. I need to fix that.

Until then, I'd rather not turn every single build red. Timeline is tomorrow.

* [AutoRelease] t2-dynatrace-2022-05-10-18455(Do not merge) (#24368)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* Update README.md (#24528)

* [Bot Rules] Restore missing rules (#24545)

Adding missing automation for flagging/closing stale pull requests and responding when `CXP Attention` is added to an issue.

* Describe named parameter issue and fix (#24549)

* azure-core: ignore Connection header in tests (#24450)

Flask includes that since https://github.com/pallets/werkzeug/pull/2399, so test fail on newest Flask versions.

* [tools] update comparison strategy for changelog  (#24348)

* code

* add log for auto_package input

* Update code_report.py

* fix

* Update change_log.py

Co-authored-by: Jiefeng Chen <[email protected]>

* code and test (#24558)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [auto_release] remove surplus code (#24349)

* remove surplus code

* Update main.py

Co-authored-by: Jiefeng Chen <[email protected]>

* add missing type hints for ItemPaged (#24548)

* add missing type hints for ItemPaged

* update changelog

* Prevent error updating pip (#24554)

* Remove locale from link (#24562)

* Add Language product slug (#24564)

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>

* Allow Skipping of Analyze Deps via Variable (#24526)

* making the analyze_deps step skippable and updating documentation to reflect it

* Sync eng/common directory with azure-sdk-tools for PR 3342 (#24563)

* Delete PR and branch which central PR is closed

* more logging changes

* resume the delete operations.

* Change the pr link directly

* fix the regex

* Refactor on regex name

* change the function to inline logic

* change typo

* delete on branch

* make changes on comments

* add commnets

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <[email protected]>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <[email protected]>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <[email protected]>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <[email protected]>

Co-authored-by: sima-zhu <[email protected]>
Co-authored-by: Sima Zhu <[email protected]>
Co-authored-by: Wes Haggard <[email protected]>

* CLU build sdk (#24116)

* update swagger readme

* fix generation errors

* update readme

* update swagger readme

* update swagger directives

* update swagger readme

* generate client

* update swagger readme - fix invalid urls

* regenerate

* samples for issue resolution

* fix samples

* add samples for pii

* update samples

* fix mismatching task types

* fix invalid parameter name in some samples

* fix modality required and default values

* fix summary aspects type and values

* fix poller return type

* fix result deserialization errors

* update samples for issue resolution

* fix pii task input modeling

* update pii samples

* remove unnecessary get statue operation

* tmp commit

* rename folder

* add issue resolution tests

* add reamining tests

* update swagger - uniformity

* rename async operation

* rename `body` to `jobs`

* update task description

* compensate for deleting `stringIndexType`

* update changelog

* disable _patch overrides

* update gen swagger - revert to original swagger - remove api version override - update api urls

* fix client (gen and samples) - conv summ

* fix client (gen and samples) - conv summ - dict parameters

* modify body to task in async api

* rename sample files

* update conv pii samples

* regenerate as dpg

* update async samples

* regen client - remove async operation rename

* update conv app samples

* rename sample

* update samples - sync, workflow app

* update samples - sync, worflow, luis response

* update samples - sync, workflow, qna

* update samples - sync, directTarget

* move samples together

* update async samples

* update tests - sync method

* record tests

* add tests for async apis

* record tests

* updating changelog

* update readme

* update samples readme

* update readme

* update autorest source file location

* rename sync operation

* update `Prerequisites` section in readme

* fix typos

* more typos

* update changelog

* rename sync operation, and remove `cancel` job operation

* update changelog

* remove some old info

* fix failing recorded tests - resource mismatch

* re-record tests pt1

* re-record pt2

* update version

* [Cosmos] add post_trigger_include to async read_item method and docs updates (#24561)

* Update _container.py

* docs

* more docs

* fix pipeline tests

* refactoring of cosmos_client to be private for imports

* fix private class renaming

* update Dict to dict

* Update _container.py

* [AutoRelease] t2-keyvault-2022-05-19-66553(Do not merge) (#24520)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [Cosmos] Update version for release (#24569)

* Update CHANGELOG.md

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Kushagra Thapar <[email protected]>

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Kushagra Thapar <[email protected]>

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Kushagra Thapar <[email protected]>

* Version updates

Co-authored-by: Kushagra Thapar <[email protected]>

* ML placeholder (#24571)

* Increment package version after release of azure-cosmos (#24575)

* [Tables] Add tests for exception reaction improvements (#24524)

* Update test_env.py (#24580)

* Delete yaml recordings (#24508)

* [KV] Troubleshooting for multitenant auth failure (#24500)

* [Storage] Triaging Skipped Storage Tests (33/54) (#24550)

* [Cosmos] Remove PREVIEW title from Async IO README (#24584)

* Update test_env.py

* Update README.md

* fix types/docs (#24568)

* [Storage] Update DataLake docstrings for create_directory and delete_directory (#24567)

* Update test_env.py (#24596)

* Adding CODEOWNERS Communication NetworkTraversal (#24598)

* Sync eng/common directory with azure-sdk-tools for PR 3362 (#24599)

* spell-check skippable by commit

* suceededOrFailed -> succeededOrFailed

Co-authored-by: scbedd <[email protected]>

* Span decorator to pass INTERNAL by default (#24492)

* Span decorator to pass INTERNAL by default

* Sync tests

* Async tests

* Docstring

* Update CHANGELOG.md

* [AutoRelease] t2-deviceupdate-2022-05-18-58571(Do not merge) (#24501)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [AutoRelease] t2-containerregistry-2022-05-18-89335(Do not merge) (#24502)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-azurestackhci-2022-05-17-96575(Do not merge) (#24474)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 3378 (#24602)

* Create json package property parent directory

* Fix the issue in script

Co-authored-by: praveenkuttappan <[email protected]>

* [ML] Release code snapshot (#24577)

* code snapshot from ml release
* ensure codeowners file is ignored during spellcheck
* add ignore files/words for azure-ai-ml to cspell.json, update ignored paths within cspell.json
* update azure-ai-ml package version

Co-authored-by: scbedd <[email protected]>
Co-authored-by: Neehar Duvvuri <[email protected]>

* Disable Verify Dependencies Step for azure-ml (in code) (#24620)

* skip verifydeps for azure-ai-ml until we get them fixed

* hide decorator.spankind (#24612)

* [Key Vault] Keep port number in parsed resource IDs (#24466)

* update changelog (#24611)

* pre-release patches (#24594)

* update title for "conv summarization"

* update samples readme service products

* update swagger link

* nit

* tmp commit

* update operations _patch

* fix import bug

* update value for string index type

* add _patch for async op

* modify recorded tests

* updated and re-record tests

* update docstrings for sync api

* update release date in changelog

* update async _patch docstrings

* remove uneeded import (#24624)

* [Doc] create doc (#24578)

* create doc

* remove to the folder

* remove to the folder

* [Cosmos] evaluation mistake in backwards compatibility (#24633)

* Update container.py

* Update CHANGELOG.md

* [AutoRelease] t2-confidentialledger-2022-05-20-79275(Do not merge) (#24529)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* code and test (#24631)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [AutoRelease] t2-eventgrid-2022-05-12-42707(Do not merge) (#24408)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* Update test_backwards_compatibility.py (#24651)

* [Fabric Bot] Update ML Contacts (#24632)

The focus of these changes is to update the Machine Learning contacts to reflect the changes made in #24577.

* Adding a missing await in _async_register_rp (#24370)

* [ML] Add in rest of unit tests (#24622)

* [ML] Add in rest of unit tests

* add an init to tests

* fix test_utils import

* add env yml files

* add knack dependency

* fix more tests

* fix gitignore

* add test_file

* add tests to ignore doc settings

* exclude more tests

* fix tests ignore thing

* update cspell ignore list to ignore a couple names in azure-ai-ml. update azure-ai-ml dev_requirements to install in a good state within our tox environments

* ignore conftest, not user facing regardless

* ignore tests dir for cspell

* remove init

* change test import

* fix import thing

* rename utils

Co-authored-by: Neehar Duvvuri <[email protected]>
Co-authored-by: scbedd <[email protected]>

* abstract (#24664)

* Increment version for core releases (#24667)

Increment package version after release of azure-core

* [metrics advisor] dpg with customizations (#24586)

* pass in value by param name instead of in headers (#24668)

* [AutoRelease] t2-servicefabricmanagedclusters-2022-05-20-02722(Do not merge) (#24530)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [AutoRelease] t2-applicationinsights-2022-05-30-17423(Do not merge) (#24640)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [servicebus] uamqp custom endpoint support (#24582)

* starting to add ce capability for sync

* sync ce pass through

* add ce async

* async test

* update sync test

* update sync test

* trailing whitespace

* updating changelog

* pr comments

* removing fix for other pr

* [EventHubs] merge Buffered Producer into main (#24653)

* update buffered producer changelog and version (#24210)

* [EventHubs] Buffered Producer  (#24362)

* clean up, remove conditions, semaphores

* minor fix

* remove semaphores, conditions

* minor fixes

* minor changs on queue length

* expose buffer_concurrency

* remove max_concurrent_sends

* make buffer size reqd

* remove comment

* add locks around flush

* use the right counter to track q size

* use the correct count for the q

* locks and right q size var for async

* clean imports

* lock for bg worker

* formatting fixes for pylin

* final review

* fix pylint issues

* lint + version

* remove semaphore tests

* skip tests that flush then close

* fix for lock issue

* unskip tests

* more async updates

Co-authored-by: Kashif Khan <[email protected]>
Co-authored-by: Kashif Khan <[email protected]>

* updating version (#24679)

* Disable detached head warnings on sparse checkout to commit (#24617)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* omit azureml from regression checks (#24681)

* Fix issue where matrix replace was not using imported display names (#24683)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* Revert "Update network loss schema" (#24654)

* Revert "Update network loss schema (#24010)"

This reverts commit 5757aea28a93f765706c72794e84d5853de5edb0.

* 0.1.16

* end tag

* Update sdk/servicebus/azure-servicebus/stress/templates/network_loss.yaml

Co-authored-by: Ben Broderick Phillips <[email protected]>

Co-authored-by: Ben Broderick Phillips <[email protected]>

* Remove eng/common checking in ml ci pipeline paths (#24686)

* [translation] arch feedback (#24669)

* TranslationStatus.documents_not_yet_started_count -> documents_not_started_count

* remove unnecessary from_continuation_token method on custom pollers

* renames to drop code suffix from language

* don't expose results_per_page

* rerecord

* add back from_cont_method, we'll just hide it in the docs

* Suppress supply chain warnings. (#24682)

* Conda release 2022 06 01 (#24635)

* update

* update

* update

* update

* update code owners (#24688)

* update code owners

* Update .github/CODEOWNERS

Co-authored-by: Rakshith Bhyravabhotla <[email protected]>

* Update .github/CODEOWNERS

Co-authored-by: Rakshith Bhyravabhotla <[email protected]>

* Update .github/CODEOWNERS

Co-authored-by: Rakshith Bhyravabhotla <[email protected]>

Co-authored-by: Rakshith Bhyravabhotla <[email protected]>

* Parameterize Dockerfiles (#24637)

* ensure that we parameterize all docker files in the repo with targeted docker repo as a build argument

* [KV] Log error when HSM security domain download fails (#24687)

* [servicebus] missing docstring async ce (#24698)

* missing docstring

* trailing whitespace

* [dpg] add send request doc (#24700)

* [Identity] Update Service Fabric manual testing instructions (#21370)

* Implement token autorefresh (#21834)

* removed options bag, enabled and fixed tests

* fix build problems

* initial implementation of configurable autorefresh

* python 2.7 compat changes

* py27 compat changes

* fixed linting problems + comments

* py27 fixed flaky test

* linting issues

* CommunicationTokenCredential async implemenation & tests are added

* split async code not to break py27

* lock issue for python 3.10 is fixed

* asyncio.sleep in async tests are removed

* test refactored

* updates in _shared duplicated in chat

* updates in _shared duplicated in sms

* updates in _shared duplicated in networktraversal

* updates in _shared duplicated in phonenumbers

* lint issue fix in utils

* python 2 compatibility fix for generate_token_with_custom_expiry & fixed sync tests termination

* removed unneccasary user credential tests from sms,chat, networktraversal,phonenumber

* reduced the default refresh interval (api review)

* time renamed to interval (api review)

* removed config for refresh time interval

* sync changes across modalities

* linting issues

* linting issues

* implemented fractional backoff + fixed tests

* unify test with the sync version

* fractional backoff tests + linting

* added changelog records + bumped versions

* Removed ayncio.Lock workaround for a bug in Python 3.10

* fixed linting issues

* phonenumbers changelog updated

* fixed PR comments

* removed user_token_refresh_options from communication SDKs

* fix cspell issues

* type hinting fix

* reverted back type hint fix

* PR comment fix

* reflected changes to the identity package & updated tests

* added samples for CommunicationTokenCredential

* renaming proactive refresh flag

* latest PR comments fix

* samples are refactored

* reflecting shared folder changes to other modalitites

* fixed a typo

* fix for pypy threading issue

* fixed test files

* fixed latest PR comments

Co-authored-by: Aigerim Beishenbekova <[email protected]>
Co-authored-by: Aigerim Beishenbekova <[email protected]>
Co-authored-by: Aigerim <[email protected]>
Co-authored-by: Aigerim Beishenbekova <[email protected]>

* Comment out assert for now, requires further investigation (#24691)

* [formrecognizer] Adding 2022-06-30-preview work (#24701)

* move June beta work to main repo

* [formrecognizer] Fix documentation (#24269)

* fix missing brackets in docs

* remove extra brackets

* add case insensitive enum meta

* merge pylint changes

* fix broken links (#24127)

Co-authored-by: Krista Pratico <[email protected]>

* temporarily skip aad tests (#24708)

* [Doc] update doc for resolve_issues_effectively (#24642)

* create doc

* remove to the folder

* Update resolve_issues_effectively.md

Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-batch-2022-06-01-88601(Do not merge) (#24659)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-sqlvirtualmachine-2022-06-02-79158(Do not merge) (#24672)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* Update readme.python.md (#24710)

* remove global config for multiapi (#24542)

* Auto release debug (#24713)

* fix auto-ask-check bug

* update comment

* update comment

* fix bug

* Update main.py

* Update main.py

* Update main.py

* fix changelog format for new service

* fix check_pprint_name bug

* Update main.py

* fix check_pprint_name bug

* Update main.py

* Update main.py

* test

* test

* change to azclibot

* change to azure

* fix push

* test

* update

* update

* test

* test

* reduction

* update main

* delete f

* Update main.py

* test

* test

* test

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* remove surplus code

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* fix bug

* update

* test

* update code

* update bot

* update main bot

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

Co-authored-by: Yuchao Yan <[email protected]>

* update tests (#24716)

* update changelog for release (#24709)

* Add Build Definition For `Azure-CLI` tests (#24705)

* create parameterized build yml that can be used to run the azure CLI tests. At queue time, parameters are available to set PythonVersion, which azure-sdk-for-python are installed, and which "other" requiements should be installed prior to invoking CLI tests

* [translation] updates for release (#24720)

* updates for GA

* docs sweep

* updating readme for ce (#24728)

* [EventHubs&ServiceBus] fix tests/samples/cspell (#24719)

* ignore SB custom endpoint samples

* cspell

* try fixing EH flaky test

* [AutoRelease] t2-imagebuilder-2022-05-26-64518(Do not merge) (#24601)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Jiefeng Chen <[email protected]>

* Update sdk_packaging.toml (#24741)

* [AutoRelease] t2-communication-2022-06-07-16458(Do not merge) (#24742)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [storagesync] update toml (#24743)

* update

* Packaging update of azure-mgmt-storagesync

Co-authored-by: Azure SDK Bot <[email protected]>

* [KV] Update metadata for release (#24731)

* Increment version for translation releases (#24747)

Increment package version after release of azure-ai-translation-document

* [formrecognizer] README and release updates  (#24726)

* README updates for release

* run black

* update house number description

* make readme more general for prebuilts

* [formrecognizer] Unskip tests (#24733)

* unskip tests

* update recordings

* [formrecognizer] Add paragraphs to prebuilt read samples (#24746)

* add paragraphs to prebuilt read samples

* format bounding region

* [Storage] STG 83 (#24551)

* [EventHubs] update buffered producer docstring (#24729)

* run black

* update buffer_concurrency docstring

* docstring debug method update

* lint

* update release date

* lint

* fix Sphinx Tox Environment Re-Usability (#24748)

* tox decided to stop cleaning up the dist folder. now we manually clean a folder which is unzipped with every sphinx invocation. this ensures that repeated tox runs will suceed

* Increment version for keyvault releases (#24750)

Increment package version after release of azure-keyvault-certificates

* [Storage] Improve exception raised when uploading 'dict' Blob (#24730)

* [formrecognizer] Remove document captions and footnotes (#24749)

* remove document captions and footnotes

* remove caption and footnote impl

* skip failing test

* remove caption and footnote from repr and dict test

* [Storage] Fix page blob tier on `upload_blob` (#24755)

* Increment version for formrecognizer releases (#24759)

Increment package version after release of azure-ai-formrecognizer

* [AutoRelease] t2-appconfiguration-2022-06-02-69007(Do not merge) (#24673)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* Remove "feature/*" from formrecognizer CI triggers (#24758)

- Aligns with other services

* EventHub Troubleshooting Guide (#24697)

* changes for eh troubleshooting guide

* trouble shooting guide for python

* review comments

* more fixes

* changes for error handling etc

* update for retry policy

* migration guide changes

* Update to OpenTelemetry api/sdk 1.12.0rc1 (#24619)

* Add missing credential types to Azure Identity README (#24771)

* [EventHub] update get_buffered_event_count docstring (#24756)

* [AutoRelease] t2-compute-2022-06-06-50198(Do not merge) (#24717)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [AutoRelease] t2-cognitiveservices-2022-06-08-73722(Do not merge) (#24760)

* code and test

* update version

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-containerservice-2022-06-06-20142(Do not merge) (#24715)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [textanalytics] regenerate and record on 2022-05-01 (#24768)

* regen 2022-05-01 with python autorest 5.16.0

* rerecord with GA api version, skip analyze endpoint for now

* add missing async patch

* bump min azure-core version

* pylint/mypy fixes

* add typingextensions dep

* fixes for samples

* [Test Proxy] Update positional parameter guidance (#24790)

* code and test (#24712)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [Python] Custom Teams Endpoint (CTE) GA (#22987)

* regenerated & updated new client for GA(2022-06-01) version

* updated recordings & unit tests for CTE

* updated networktraversal recordings

* removed all occurrences of api_version parameter in other SDKs

* changed release version

* updated helper.py in all test shared folder

* synced test shared folders

* fix for cspell check

Co-authored-by: Aigerim Beishenbekova <[email protected]>
Co-authored-by: Petr Švihlík <[email protected]>

* Update CHANGELOG to prepare for 1.0.0b6 release (#24792)

* [Storage] Remove batch delete_files() (#24770)

* [Tool] update codegen (#24808)

* update codegen

* Update tools/azure-sdk-tools/packaging_tools/auto_codegen.py

Co-authored-by: Yuchao Yan <[email protected]>

* Update generate_sdk.py

Co-authored-by: Yuchao Yan <[email protected]>

* [Pepeline] SDK Auto release (#24803)

* fix auto-ask-check bug

* update comment

* update comment

* fix bug

* Update main.py

* Update main.py

* Update main.py

* fix changelog format for new service

* fix check_pprint_name bug

* Update main.py

* fix check_pprint_name bug

* Update main.py

* Update main.py

* test

* test

* change to azclibot

* change to azure

* fix push

* test

* update

* update

* test

* test

* reduction

* update main

* delete f

* Update main.py

* test

* test

* test

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* remove surplus code

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* fix bug

* update

* test

* update code

* update bot

* update main bot

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* change branch for test

* for test

* for test

* for test

* add python_tag

* restore branch

* Update PythonSdkLiveTest.yml

* update global_conf

* Update auto_codegen.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update main.py

* Update main.py

Co-authored-by: Yuchao Yan <[email protected]>

* [Script] Auto release debug (#24821)

* fix auto-ask-check bug

* update comment

* update comment

* fix bug

* Update main.py

* Update main.py

* Update main.py

* fix changelog format for new service

* fix check_pprint_name bug

* Update main.py

* fix check_pprint_name bug

* Update main.py

* Update main.py

* test

* test

* change to azclibot

* change to azure

* fix push

* test

* update

* update

* test

* test

* reduction

* update main

* delete f

* Update main.py

* test

* test

* test

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* remove surplus code

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* fix bug

* update

* test

* update code

* update bot

* update main bot

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* change branch for test

* for test

* for test

* for test

* add python_tag

* restore branch

* Update PythonSdkLiveTest.yml

* update global_conf

* Update auto_codegen.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update main.py

* Update main.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

Co-authored-by: Yuchao Yan <[email protected]>

* update autorest version and template for pytyped (#24823)

* [EventHubs] update checkpointstoreblob README title (#24825)

fixes: #15793

* Increment package version after release of azure-monitor-opentelemetry-exporter (#24812)

* Sync eng/common directory with azure-sdk-tools for PR 3433 (#24828)

* add condition

* divide line

Co-authored-by: Mariana Rios Flores <[email protected]>

* Override live test location default to westus (#24684)

* [textanalytics] remove extractive text summarization (#24793)

* remove extractive text summarization for GA

* cspell

* [Storage] STG83 Changelogs (#24829)

* [mgmt][core] upgrade min dependency for `azure-core` (#24245)

* code

* Update shared_requirements.txt

* update changelog

* Update CHANGELOG.md

* Update _version.py

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* code and test (#24819)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [Datalake] Fix connection string parsing (#24779)

* Fix dfs conn str parsing

* Added unittest

* Some more tests

* Identity environmnet credential cert password (#24826)

* environmnet credential add supports for the cert password

* update doc

* fix typo

* Update sdk/identity/azure-identity/azure/identity/aio/_credentials/environment.py

Co-authored-by: Charles Lowell <[email protected]>

* update

* Update sdk/identity/azure-identity/azure/identity/_credentials/environment.py

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: McCoy Patiño <[email protected]>

* update

Co-authored-by: Charles Lowell <[email protected]>
Co-authored-by: McCoy Patiño <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 3267 (#24514)

* Use seperate scripts

* address comments.

* do compare and update

* save on the service level readme

* have the helper for reuse function

* remove mgmt table

* changes

* fix

* no return on error

* return if no contents

* Address comments

* change the table

* address wes comments.

* address wes comments.

* address more comments.

Co-authored-by: sima-zhu <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 3386 (#24837)

* Update the order of remarks and examples to align with docs.ms

* change all occurance

* Update class.tmpl.partial

Co-authored-by: sizhu <[email protected]>
Co-authored-by: Sima Zhu <[email protected]>

* ensure conditions all work properly in the case of a previous error (#24831)

Co-authored-by: Scott Beddall <[email protected]>

* remove sleep time between tests (#24813)

* [formrecognizer] Unskip AAD tests (#24795)

* unskip AAD tests

* unskip tests

* [textanalytics] merge single/multi category result (#24797)

* merge SingleCategoryClassifyResult and MultiCategoryClassifyResult -> ClassifyDocumentResult

* unskip sam…
xiangyan99 added a commit that referenced this pull request Jul 22, 2022
* migrate identity tests to test proxy

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* add recorded imds tests

* update

* update

* update

* update

* updates

* update

* Update sdk/identity/azure-identity/conftest.py

Co-authored-by: McCoy Patiño <[email protected]>

* update

* Get latest main (#24859)

* [HDInsight] Use value from fake credential store in tests (#24274)

* [textanalytics] fix for 429 (#24279)

* try fix for 429

* revert

* [SchemaRegistry] docs/mypy updates (#24283)

* eh changelog data/setup.py stable

* sr/avro changelog

* mypy errors + update generated code

* update test

* run black

* update core mindep + pylint errors

* lint

* Update `azure-template` to reflect py27 only updates (#24285)

* [textanalytics] decorator to validate multiapi  (#24281)

* add validation decorator for multiapi args since inputs changed from v3.x to language api

* add tests

* Visibility Timeout Doc Correction (#21463)

* settings files

* gitignore

* fixed documentation

* async

* Remove Storage code owners (#24286)

* [KeyVault] Keyvault Keys to Test Proxy (#24165)

* move conftest into the tests folder

* test proxy changes

* new recordings

* more recordings for crud

* sync test recordings

* move over to test proxy

* kv async recordings

* simple clean ups

* recordings

* clean up imports

* pick right vault name

* clean up

* fix test parse id offline test

* override pytest default event loop

* fix for async tests, change to aiohttp request

* remove commented code

* formatting fixes

* Delete vcrpy recordings

* with block for async client

* clean up

* code clean ups

* move keys specific methods in to a separate class

* PR comments

* refactor test to use preparer

* update changelog (#24292)

* update changelog

* update changelog

* Update the version tool to the latest (#24288)

Co-authored-by: sima-zhu <[email protected]>

* [textanalytics] regen on 2022-04-01-preview + rerecord (#24280)

* regen on april preview version

* updates to handwritten layer for api version change

* rerecord

* fix

* add fhir to cspell

* skip samples due to service bug

* fixes and recordings for healthcare cancel with april api version

* fix tests

* actually fix tests

* oops

* [Storage] Add progress callback to `download_blob` methods (#24276)

* [formrecognizer] Fix documentation (#24269)

* fix missing brackets in docs

* remove extra brackets

* [textanalytics] support for healthcare action + FHIR (#24298)

* add impl for healthcare action + fhir and tests

* update changelog

* updates for validate + tests

* [AutoRelease] t2-resource-2022-04-28-85137(Do not merge) (#24220)

* code and test

* update version

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Jiefeng Chen <[email protected]>

* [AutoRelease] t2-msi-2022-04-29-61348(Do not merge) (#24250)

* code and test

* update version

* update changelog

* Update CHANGELOG.md

* update version

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* optimize change_log (#24252)

* optimize change_log

* Update change_log.py

* Update code_report.py

* Update code_report.py

* Update code_report.py

* Update code_report.py

* Update code_report.py

* [Key Vault] Correctly skip unconfigured tests (#24301)

* [KeyVault] KV Certificates to test proxy (#24256)

* sync test mods

* add in a conftest for certs

* sync recordings

* minor update to remove method

* clean up imports

* async recordings

* async test to test proxy

* clean up imports

* PR comments

* uncomment out skip

* record failing tests

* delete old recordings

* minor clean up

* Disable Azure Artifact Docker Warnings (#24300)

* disable docker warning until 24299 is complete

Co-authored-by: Wes Haggard <[email protected]>

* Update pipeline-generator version (#24313)

Co-authored-by: Patrick Hallisey <[email protected]>

* [core] move SerializationError and DeserializationError to exceptions (#24312)

* move exceptions to exceptions

* update changelog

* fix changelog

* Update CHANGELOG.md

Co-authored-by: Xiang Yan <[email protected]>

* batch dropping 2.7 (#24295)

* batch dropping 2.7

* Packaging update of azure-servicefabric

* Packaging update of azure-iot-modelsrepository

* update

* update

* update

* update

* update

* ensure that the readme type is set properly

Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: scbedd <[email protected]>

* [Storage] Prepare for STG82 GA release (#24316)

* [Tables] Add multitenant challenge auth policy support (#24278)

* Update change_log.py (#24322)

fix bug

* Increment version for core releases (#24331)

Increment package version after release of azure-core

* Prepare monitor for release (#24332)

* doc changes

* changelog

* oops

* [Tables] Fix odata serialization (#24290)

* Fix odata serialization

* Support int32 validation

* Add test recordings

* Update all affected recordings

* Redact tokens

* Update changelog

* Improved comments

Co-authored-by: McCoy Patiño <[email protected]>

* Adjusted testcase (#24335)

* [AutoRelease] t2-recoveryservicesbackup-2022-04-29-79596 (#24243)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* code and test (#24319)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-chaos-2022-04-28-73429 (#24219)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [RecoverServices] Temporarily delete invalid links (#24340)

* Update sdk_packaging.toml

* Packaging update of azure-mgmt-recoveryservices

Co-authored-by: Azure SDK Bot <[email protected]>

* update (#24341)

* update template (#24343)

* [DPG][pipeline] integration to swagger pipeline (#24355)

* add data-plane generation

* choose different config file

* Create communication samples (#24268)

* [SchemaRegistry] avro update docstring (#24364)

* [AutoRelease] t2-redhatopenshift-2022-05-05-85576(Do not merge) (#24302)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [ACR] Pull/push support for OCI manifest and blob (#24004)

* [AutoRelease] t2-network-2022-04-28-56088(Do not merge) (#24228)

* code and test

* Update CHANGELOG.md

* update test result

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>

* Increment package version after release of azure-identity (#24371)

* [KeyVault] Administration Test to Test Proxy (#24334)

* conftest changes for pytest

* async preparers

* initial test proxy changes

* changes for proper hsm url

* converted to tp

* recordings

* sync recordings

* async recordings

* re-record

* re-recordings

* async changes

* sync changes

* minor fix

* remove variables

* comments for PR

* new recordings

* Increment version for eventhub releases (#24376)

Increment package version after release of azure-eventhub

* Package py.typed file (#24361)

* Package py.typed file

* cspell

* [textanalytics] update documentation (#24318)

* renames from TA->Language for samples

* update docstrings, readme, changelog

* update language

* fix readme toc

* missed an instance

* include healthcare action on readme list

* feedback

* add sentence about dropping v3.2-preview.2

* [Docs] update guidance for test (#23955)

* update test doc

* Update tests.md

* Update tests.md

* remove vcrpy

* regen on official swagger / remove local swagger (#24382)

* Increment package version after release of azure-containerregistry (#24388)

* Increment package version after release of azure-data-tables (#24389)

* [App] deprecate app package (#24393)

* deprecate app package

* Update CHANGELOG.md

* Update _version.py

* Update README.md

Co-authored-by: Yuchao Yan <[email protected]>

* add test (#24394)

* [change_log] write a script for change_log (#23952)

* write a script for change_log

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* check_change_log

* Update README.md

* Update README.md

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* update

* update

* delete

* Update README.md

* Update main.py

* update

* Update main.py

Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Jiefeng Chen <[email protected]>

* Increment version for schemaregistry releases (#24375)

Increment package version after release of azure-schemaregistry-avroencoder

* [Cosmos] post-archboard fixes (#24358)

* initial commit

* Client Constructor (#20310)

* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <[email protected]>

* read database

database read works, but ignored exception is returned:
Fatal error on SSL transport
NoneType has no attribute 'send' (_loop._proactor.send)
RuntimeError: Event loop is closed
Unclosed connector/ connection

* Update simon_testfile.py

* with coroutine

Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed"

* Update simon_testfile.py

* small changes

* async with returns no exceptions

* async read container

* async item read

* cleaning up

* create item/ database methods

* item delete working

* docs replace functionality

missing upsert and other resources

* upsert functionality

missing read_all_items and both query methods for container class

* missing query methods

* CRUD for udf, sproc, triggers

* initial query logic + container methods

* missing some execution logic and tests

* oops

* fully working queries

* small fix to query_items()

also fixed README and added examples_async

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* documentation update

* updated MIT dates and get_user_client() description

* Update CHANGELOG.md

* Delete simon_testfile.py

* leftover retry utility

* Update README.md

* docs and removed six package

* changes based on comments

still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests)

* small change in type hints

* updated readme

* fixes based on conversations

* added missing type comments

* update changelog for ci pipeline

* added typehints, moved params into keywords, added decorators, made _connection_policy private

* changes based on sync with central sdk

* remove is_system_key from scripts (only used in execute_sproc)

is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless

* Revert "remove is_system_key from scripts (only used in execute_sproc)"

Reverting last commit, will find way to init is_system_key for now

* async script proxy using composition

* pylint

* capitalized constants

* Apply suggestions from code review

Clarifying comments for README

Co-authored-by: Gahl Levy <[email protected]>

* closing python code snippet

* last doc updates

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Simon Moreno <[email protected]>

* version update

* cosmos updates for release

* fix connection string comma

* Update CHANGELOG.md

* fixing extra await keyword in sample

* Update CHANGELOG.md

* Update CHANGELOG.md

* get_authorization_header

* remove __aenter__

Co-authored-by: annatisch <[email protected]>
Co-authored-by: Gahl Levy <[email protected]>
Co-authored-by: Travis Prescott <[email protected]>

* [translation] doc fixes (#24381)

* doc updates

* fix pylint

* Increment version for storage releases (#24377)

Increment package version after release of azure-storage-file-share

* Update tox.ini (#24401)

Pin to 0.2.11

* add CertificateCredential sample (#24400)

* add CertificateCredential sample

* update

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/samples/client_certificate_credential.md

Co-authored-by: McCoy Patiño <[email protected]>

Co-authored-by: McCoy Patiño <[email protected]>

* Update readme for -pre and -post TestResource scripts (#24405)

Co-authored-by: Christopher Scott <[email protected]>

* [AutoRelease] t2-datafactory-2022-05-05-52029(Do not merge) (#24304)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* create doc (#24419)

* Update Azure monitor OpenTelemetry exporter example (#24422)

* String parsing improvements to service directory resource names (#24398)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* Update semantic convention mappings (#24366)

* [Cosmos] use python3 typehints and move options to kwargs on async client (#23933)

* initial commit

* Client Constructor (#20310)

* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <[email protected]>

* read database

database read works, but ignored exception is returned:
Fatal error on SSL transport
NoneType has no attribute 'send' (_loop._proactor.send)
RuntimeError: Event loop is closed
Unclosed connector/ connection

* Update simon_testfile.py

* with coroutine

Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed"

* Update simon_testfile.py

* small changes

* async with returns no exceptions

* async read container

* async item read

* cleaning up

* create item/ database methods

* item delete working

* docs replace functionality

missing upsert and other resources

* upsert functionality

missing read_all_items and both query methods for container class

* missing query methods

* CRUD for udf, sproc, triggers

* initial query logic + container methods

* missing some execution logic and tests

* oops

* fully working queries

* small fix to query_items()

also fixed README and added examples_async

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* documentation update

* updated MIT dates and get_user_client() description

* Update CHANGELOG.md

* Delete simon_testfile.py

* leftover retry utility

* Update README.md

* docs and removed six package

* changes based on comments

still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests)

* small change in type hints

* updated readme

* fixes based on conversations

* added missing type comments

* update changelog for ci pipeline

* added typehints, moved params into keywords, added decorators, made _connection_policy private

* changes based on sync with central sdk

* remove is_system_key from scripts (only used in execute_sproc)

is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless

* Revert "remove is_system_key from scripts (only used in execute_sproc)"

Reverting last commit, will find way to init is_system_key for now

* async script proxy using composition

* pylint

* capitalized constants

* Apply suggestions from code review

Clarifying comments for README

Co-authored-by: Gahl Levy <[email protected]>

* closing python code snippet

* last doc updates

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Simon Moreno <[email protected]>

* version update

* cosmos updates for release

* public surface area python3 typehints

* fix connection string comma

* Update CHANGELOG.md

* fixing extra await keyword in sample

* Update CHANGELOG.md

* Update CHANGELOG.md

* simplified short types into one line and moved many options to kwargs

* missed additional Callable definitions

* pylint

* addressed several comments, thank you Travis

* Update CHANGELOG.md

* Callable typehints

* Update CHANGELOG.md

* bets practices recommends using string partition keys

* Revert "bets practices recommends using string partition keys"

This reverts commit d44502ffc7b01b03a9ea99d68e2d24ee5d8772c3.

* Update sdk/cosmos/azure-cosmos/azure/cosmos/container.py

Co-authored-by: Anna Tisch <[email protected]>

* changes from meeting

* Update CHANGELOG.md

* update query types

* Update dev_requirements.txt

* Update setup.py

* type checking for tokencredential

* Revert "type checking for tokencredential"

This reverts commit 4eadc978b67f36af497e51925ad281e28fa7e10a.

* update shared_requirements

* anna comments

* pylint?

* Update _scripts.py

Co-authored-by: annatisch <[email protected]>
Co-authored-by: Gahl Levy <[email protected]>
Co-authored-by: Travis Prescott <[email protected]>

* Update Azure Account ext. workaround guidance (#24429)

* fix typing (#24424)

* fix typing

* update

* code (#24253)

* code and test (#24432)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [VideoAnalyzer] deprecate package (#24434)

* deprecate

* Update sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py

Co-authored-by: Yuchao Yan <[email protected]>

* [VideoAnalyzer] deprecate videoanalyzer (#24436)

* deprecate

* Update sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py

* fix link

Co-authored-by: Yuchao Yan <[email protected]>

* add option for key credential (#24437)

* add option for key credential (#24437)

* [Cosmos] mark populate_query_metrics flag to be deleted when used and remove docs (#22264)

* initial commit

* Client Constructor (#20310)

* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <[email protected]>

* read database

database read works, but ignored exception is returned:
Fatal error on SSL transport
NoneType has no attribute 'send' (_loop._proactor.send)
RuntimeError: Event loop is closed
Unclosed connector/ connection

* Update simon_testfile.py

* with coroutine

Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed"

* Update simon_testfile.py

* small changes

* async with returns no exceptions

* async read container

* async item read

* cleaning up

* create item/ database methods

* item delete working

* docs replace functionality

missing upsert and other resources

* upsert functionality

missing read_all_items and both query methods for container class

* missing query methods

* CRUD for udf, sproc, triggers

* initial query logic + container methods

* missing some execution logic and tests

* oops

* fully working queries

* small fix to query_items()

also fixed README and added examples_async

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* documentation update

* updated MIT dates and get_user_client() description

* Update CHANGELOG.md

* Delete simon_testfile.py

* leftover retry utility

* Update README.md

* docs and removed six package

* changes based on comments

still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests)

* small change in type hints

* updated readme

* fixes based on conversations

* added missing type comments

* update changelog for ci pipeline

* added typehints, moved params into keywords, added decorators, made _connection_policy private

* changes based on sync with central sdk

* remove is_system_key from scripts (only used in execute_sproc)

is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless

* Revert "remove is_system_key from scripts (only used in execute_sproc)"

Reverting last commit, will find way to init is_system_key for now

* async script proxy using composition

* pylint

* capitalized constants

* Apply suggestions from code review

Clarifying comments for README

Co-authored-by: Gahl Levy <[email protected]>

* closing python code snippet

* last doc updates

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Simon Moreno <[email protected]>

* version update

* cosmos updates for release

* send user warning for use of populate_query_metrics flag

* Update CHANGELOG.md

* Update container.py

* added tests

* avoid index errors

* Update CHANGELOG.md

Co-authored-by: annatisch <[email protected]>
Co-authored-by: Gahl Levy <[email protected]>
Co-authored-by: Travis Prescott <[email protected]>

* [Cosmos] Fix failing unit tests (#24287)

* initial commit

* Client Constructor (#20310)

* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <[email protected]>

* read database

database read works, but ignored exception is returned:
Fatal error on SSL transport
NoneType has no attribute 'send' (_loop._proactor.send)
RuntimeError: Event loop is closed
Unclosed connector/ connection

* Update simon_testfile.py

* with coroutine

Added methods needed to use async with when initializing client, but logs output "Exception ignored... Runtime Error: Event loop is closed"

* Update simon_testfile.py

* small changes

* async with returns no exceptions

* async read container

* async item read

* cleaning up

* create item/ database methods

* item delete working

* docs replace functionality

missing upsert and other resources

* upsert functionality

missing read_all_items and both query methods for container class

* missing query methods

* CRUD for udf, sproc, triggers

* initial query logic + container methods

* missing some execution logic and tests

* oops

* fully working queries

* small fix to query_items()

also fixed README and added examples_async

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* documentation update

* updated MIT dates and get_user_client() description

* Update CHANGELOG.md

* Delete simon_testfile.py

* leftover retry utility

* Update README.md

* docs and removed six package

* changes based on comments

still missing discussion resolution on SSL verification and tests for async functionality under test module (apart from samples which are basically end to end tests)

* small change in type hints

* updated readme

* fixes based on conversations

* added missing type comments

* update changelog for ci pipeline

* added typehints, moved params into keywords, added decorators, made _connection_policy private

* changes based on sync with central sdk

* remove is_system_key from scripts (only used in execute_sproc)

is_system_key verifies that an empty partition key is properly dealt with if ['partitionKey']['systemKey'] exists in the container options - however, we do not allow containers to be created with empty partition key values in the python sdk, so the functionality is needless

* Revert "remove is_system_key from scripts (only used in execute_sproc)"

Reverting last commit, will find way to init is_system_key for now

* async script proxy using composition

* pylint

* capitalized constants

* Apply suggestions from code review

Clarifying comments for README

Co-authored-by: Gahl Levy <[email protected]>

* closing python code snippet

* last doc updates

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Simon Moreno <[email protected]>

* version update

* cosmos updates for release

* fix connection string comma

* Update CHANGELOG.md

* fixing extra await keyword in sample

* Update CHANGELOG.md

* Update CHANGELOG.md

* first round of fixes

* Update test_config.py

* round 2

* raising failed result in get_Database_accounts

* small changes

* more small fixes

* Update test_query.py

* Update test_query.py

* Update _global_endpoint_manager.py

Co-authored-by: annatisch <[email protected]>
Co-authored-by: Gahl Levy <[email protected]>
Co-authored-by: Travis Prescott <[email protected]>

* [Cosmos] deprecate offer naming in methods - merge available (#24428)

* copied changes from other PR

* Update test_backwards_compatibility.py

* Update database.py

* add type hints to overload impl (#24406)

* Create test_crud_async.py (#24166)

* Create test_crud_async.py

creating async tests for the crud tests

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

* Update test_crud_async.py

Co-authored-by: simorenoh <[email protected]>

* [textanalytics] unskip tests and rerecord now that kebab-case bug is fixed (#24431)

* unskip tests and rerecord now that kebab case bug is fixed

* check err code

* Add skip variable for remove test resources to support debugging (#24441)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* fix test (#24445)

* code and test (#24457)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* code and test (#24459)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* Update tox.ini (#24425)

Bump api-stub-generator to 0.3.1

* Add other azure samples (#24360)

* chat

* phone

* sms

* keys

* other

* link

* azure-monitor-opentelemetry-exporter update readme (#24461)

* add py.typed files to any packages missing them. update MANIFEST.in to include py.typed. update setup.py where necessary to set flat include_package_data and define package_data arguments for the new py.typed file. Disabling CI to avoid buildstorm: ***NO_CI***

* Enforce proper usage of `py.typed` file (#24409)

*update verify_sdist.py to also validate the configuration of the package WRT py.typed. Enforces setup.py config, MANIFEST.in config, and checks the existence of a py.typed file at the correct folder depth.

Co-authored-by: McCoy Patiño <[email protected]>

* [Doc] Find SDK by Azure-cli command (#24123)

* create doc

* Update find_sdk_in_cli_command.md

* update

* rename tests (#24478)

* [AutoRelease] t2-appcontainers-2022-05-12-62222(Do not merge) (#24407)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: zhenbiao wei <[email protected]>

* Fix CI under `sdk/compute` (#24481)

* trigger update_pr

* Packaging update of azure-mgmt-imagebuilder

* Packaging update of azure-mgmt-vmwarecloudsimple

* Packaging update of azure-mgmt-avs

Co-authored-by: Azure SDK Bot <[email protected]>

* code and test (#24479)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* code and test (#24456)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* Remove locale from links (#24490)

* update release date and fix some docstrings (#24473)

* Share APIView Pins of pylint-guidelines-checker (#24258)

* linting does NOT require the apistubgenpackage. given that it has a conflict with our pinned pylint (2.9.3) we will simply not introduce it to the linting dependency graph. instead we will simply pin 
* pin apistubgen requirements in a separate file

* [Storage] Update Storage mgmt MANIFESTs to include py.typed (#24506)

* Increment version for textanalytics release (#24512)

* patching conda version to current. removing pin of azure-mgmt-resources

* increment azure-ai-textanalytics version

* Temporarily disable `mgmt` enforcement of `py.typed` (#24513)

I missed  a _bunch_ of management packages in my py.typed update. I need to fix that.

Until then, I'd rather not turn every single build red. Timeline is tomorrow.

* [AutoRelease] t2-dynatrace-2022-05-10-18455(Do not merge) (#24368)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* Update README.md (#24528)

* [Bot Rules] Restore missing rules (#24545)

Adding missing automation for flagging/closing stale pull requests and responding when `CXP Attention` is added to an issue.

* Describe named parameter issue and fix (#24549)

* azure-core: ignore Connection header in tests (#24450)

Flask includes that since https://github.com/pallets/werkzeug/pull/2399, so test fail on newest Flask versions.

* [tools] update comparison strategy for changelog  (#24348)

* code

* add log for auto_package input

* Update code_report.py

* fix

* Update change_log.py

Co-authored-by: Jiefeng Chen <[email protected]>

* code and test (#24558)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [auto_release] remove surplus code (#24349)

* remove surplus code

* Update main.py

Co-authored-by: Jiefeng Chen <[email protected]>

* add missing type hints for ItemPaged (#24548)

* add missing type hints for ItemPaged

* update changelog

* Prevent error updating pip (#24554)

* Remove locale from link (#24562)

* Add Language product slug (#24564)

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>

* Allow Skipping of Analyze Deps via Variable (#24526)

* making the analyze_deps step skippable and updating documentation to reflect it

* Sync eng/common directory with azure-sdk-tools for PR 3342 (#24563)

* Delete PR and branch which central PR is closed

* more logging changes

* resume the delete operations.

* Change the pr link directly

* fix the regex

* Refactor on regex name

* change the function to inline logic

* change typo

* delete on branch

* make changes on comments

* add commnets

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <[email protected]>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <[email protected]>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <[email protected]>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Wes Haggard <[email protected]>

Co-authored-by: sima-zhu <[email protected]>
Co-authored-by: Sima Zhu <[email protected]>
Co-authored-by: Wes Haggard <[email protected]>

* CLU build sdk (#24116)

* update swagger readme

* fix generation errors

* update readme

* update swagger readme

* update swagger directives

* update swagger readme

* generate client

* update swagger readme - fix invalid urls

* regenerate

* samples for issue resolution

* fix samples

* add samples for pii

* update samples

* fix mismatching task types

* fix invalid parameter name in some samples

* fix modality required and default values

* fix summary aspects type and values

* fix poller return type

* fix result deserialization errors

* update samples for issue resolution

* fix pii task input modeling

* update pii samples

* remove unnecessary get statue operation

* tmp commit

* rename folder

* add issue resolution tests

* add reamining tests

* update swagger - uniformity

* rename async operation

* rename `body` to `jobs`

* update task description

* compensate for deleting `stringIndexType`

* update changelog

* disable _patch overrides

* update gen swagger - revert to original swagger - remove api version override - update api urls

* fix client (gen and samples) - conv summ

* fix client (gen and samples) - conv summ - dict parameters

* modify body to task in async api

* rename sample files

* update conv pii samples

* regenerate as dpg

* update async samples

* regen client - remove async operation rename

* update conv app samples

* rename sample

* update samples - sync, workflow app

* update samples - sync, worflow, luis response

* update samples - sync, workflow, qna

* update samples - sync, directTarget

* move samples together

* update async samples

* update tests - sync method

* record tests

* add tests for async apis

* record tests

* updating changelog

* update readme

* update samples readme

* update readme

* update autorest source file location

* rename sync operation

* update `Prerequisites` section in readme

* fix typos

* more typos

* update changelog

* rename sync operation, and remove `cancel` job operation

* update changelog

* remove some old info

* fix failing recorded tests - resource mismatch

* re-record tests pt1

* re-record pt2

* update version

* [Cosmos] add post_trigger_include to async read_item method and docs updates (#24561)

* Update _container.py

* docs

* more docs

* fix pipeline tests

* refactoring of cosmos_client to be private for imports

* fix private class renaming

* update Dict to dict

* Update _container.py

* [AutoRelease] t2-keyvault-2022-05-19-66553(Do not merge) (#24520)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [Cosmos] Update version for release (#24569)

* Update CHANGELOG.md

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Kushagra Thapar <[email protected]>

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Kushagra Thapar <[email protected]>

* Update sdk/cosmos/azure-cosmos/CHANGELOG.md

Co-authored-by: Kushagra Thapar <[email protected]>

* Version updates

Co-authored-by: Kushagra Thapar <[email protected]>

* ML placeholder (#24571)

* Increment package version after release of azure-cosmos (#24575)

* [Tables] Add tests for exception reaction improvements (#24524)

* Update test_env.py (#24580)

* Delete yaml recordings (#24508)

* [KV] Troubleshooting for multitenant auth failure (#24500)

* [Storage] Triaging Skipped Storage Tests (33/54) (#24550)

* [Cosmos] Remove PREVIEW title from Async IO README (#24584)

* Update test_env.py

* Update README.md

* fix types/docs (#24568)

* [Storage] Update DataLake docstrings for create_directory and delete_directory (#24567)

* Update test_env.py (#24596)

* Adding CODEOWNERS Communication NetworkTraversal (#24598)

* Sync eng/common directory with azure-sdk-tools for PR 3362 (#24599)

* spell-check skippable by commit

* suceededOrFailed -> succeededOrFailed

Co-authored-by: scbedd <[email protected]>

* Span decorator to pass INTERNAL by default (#24492)

* Span decorator to pass INTERNAL by default

* Sync tests

* Async tests

* Docstring

* Update CHANGELOG.md

* [AutoRelease] t2-deviceupdate-2022-05-18-58571(Do not merge) (#24501)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [AutoRelease] t2-containerregistry-2022-05-18-89335(Do not merge) (#24502)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-azurestackhci-2022-05-17-96575(Do not merge) (#24474)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 3378 (#24602)

* Create json package property parent directory

* Fix the issue in script

Co-authored-by: praveenkuttappan <[email protected]>

* [ML] Release code snapshot (#24577)

* code snapshot from ml release
* ensure codeowners file is ignored during spellcheck
* add ignore files/words for azure-ai-ml to cspell.json, update ignored paths within cspell.json
* update azure-ai-ml package version

Co-authored-by: scbedd <[email protected]>
Co-authored-by: Neehar Duvvuri <[email protected]>

* Disable Verify Dependencies Step for azure-ml (in code) (#24620)

* skip verifydeps for azure-ai-ml until we get them fixed

* hide decorator.spankind (#24612)

* [Key Vault] Keep port number in parsed resource IDs (#24466)

* update changelog (#24611)

* pre-release patches (#24594)

* update title for "conv summarization"

* update samples readme service products

* update swagger link

* nit

* tmp commit

* update operations _patch

* fix import bug

* update value for string index type

* add _patch for async op

* modify recorded tests

* updated and re-record tests

* update docstrings for sync api

* update release date in changelog

* update async _patch docstrings

* remove uneeded import (#24624)

* [Doc] create doc (#24578)

* create doc

* remove to the folder

* remove to the folder

* [Cosmos] evaluation mistake in backwards compatibility (#24633)

* Update container.py

* Update CHANGELOG.md

* [AutoRelease] t2-confidentialledger-2022-05-20-79275(Do not merge) (#24529)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* code and test (#24631)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [AutoRelease] t2-eventgrid-2022-05-12-42707(Do not merge) (#24408)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* Update test_backwards_compatibility.py (#24651)

* [Fabric Bot] Update ML Contacts (#24632)

The focus of these changes is to update the Machine Learning contacts to reflect the changes made in #24577.

* Adding a missing await in _async_register_rp (#24370)

* [ML] Add in rest of unit tests (#24622)

* [ML] Add in rest of unit tests

* add an init to tests

* fix test_utils import

* add env yml files

* add knack dependency

* fix more tests

* fix gitignore

* add test_file

* add tests to ignore doc settings

* exclude more tests

* fix tests ignore thing

* update cspell ignore list to ignore a couple names in azure-ai-ml. update azure-ai-ml dev_requirements to install in a good state within our tox environments

* ignore conftest, not user facing regardless

* ignore tests dir for cspell

* remove init

* change test import

* fix import thing

* rename utils

Co-authored-by: Neehar Duvvuri <[email protected]>
Co-authored-by: scbedd <[email protected]>

* abstract (#24664)

* Increment version for core releases (#24667)

Increment package version after release of azure-core

* [metrics advisor] dpg with customizations (#24586)

* pass in value by param name instead of in headers (#24668)

* [AutoRelease] t2-servicefabricmanagedclusters-2022-05-20-02722(Do not merge) (#24530)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [AutoRelease] t2-applicationinsights-2022-05-30-17423(Do not merge) (#24640)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [servicebus] uamqp custom endpoint support (#24582)

* starting to add ce capability for sync

* sync ce pass through

* add ce async

* async test

* update sync test

* update sync test

* trailing whitespace

* updating changelog

* pr comments

* removing fix for other pr

* [EventHubs] merge Buffered Producer into main (#24653)

* update buffered producer changelog and version (#24210)

* [EventHubs] Buffered Producer  (#24362)

* clean up, remove conditions, semaphores

* minor fix

* remove semaphores, conditions

* minor fixes

* minor changs on queue length

* expose buffer_concurrency

* remove max_concurrent_sends

* make buffer size reqd

* remove comment

* add locks around flush

* use the right counter to track q size

* use the correct count for the q

* locks and right q size var for async

* clean imports

* lock for bg worker

* formatting fixes for pylin

* final review

* fix pylint issues

* lint + version

* remove semaphore tests

* skip tests that flush then close

* fix for lock issue

* unskip tests

* more async updates

Co-authored-by: Kashif Khan <[email protected]>
Co-authored-by: Kashif Khan <[email protected]>

* updating version (#24679)

* Disable detached head warnings on sparse checkout to commit (#24617)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* omit azureml from regression checks (#24681)

* Fix issue where matrix replace was not using imported display names (#24683)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* Revert "Update network loss schema" (#24654)

* Revert "Update network loss schema (#24010)"

This reverts commit 5757aea28a93f765706c72794e84d5853de5edb0.

* 0.1.16

* end tag

* Update sdk/servicebus/azure-servicebus/stress/templates/network_loss.yaml

Co-authored-by: Ben Broderick Phillips <[email protected]>

Co-authored-by: Ben Broderick Phillips <[email protected]>

* Remove eng/common checking in ml ci pipeline paths (#24686)

* [translation] arch feedback (#24669)

* TranslationStatus.documents_not_yet_started_count -> documents_not_started_count

* remove unnecessary from_continuation_token method on custom pollers

* renames to drop code suffix from language

* don't expose results_per_page

* rerecord

* add back from_cont_method, we'll just hide it in the docs

* Suppress supply chain warnings. (#24682)

* Conda release 2022 06 01 (#24635)

* update

* update

* update

* update

* update code owners (#24688)

* update code owners

* Update .github/CODEOWNERS

Co-authored-by: Rakshith Bhyravabhotla <[email protected]>

* Update .github/CODEOWNERS

Co-authored-by: Rakshith Bhyravabhotla <[email protected]>

* Update .github/CODEOWNERS

Co-authored-by: Rakshith Bhyravabhotla <[email protected]>

Co-authored-by: Rakshith Bhyravabhotla <[email protected]>

* Parameterize Dockerfiles (#24637)

* ensure that we parameterize all docker files in the repo with targeted docker repo as a build argument

* [KV] Log error when HSM security domain download fails (#24687)

* [servicebus] missing docstring async ce (#24698)

* missing docstring

* trailing whitespace

* [dpg] add send request doc (#24700)

* [Identity] Update Service Fabric manual testing instructions (#21370)

* Implement token autorefresh (#21834)

* removed options bag, enabled and fixed tests

* fix build problems

* initial implementation of configurable autorefresh

* python 2.7 compat changes

* py27 compat changes

* fixed linting problems + comments

* py27 fixed flaky test

* linting issues

* CommunicationTokenCredential async implemenation & tests are added

* split async code not to break py27

* lock issue for python 3.10 is fixed

* asyncio.sleep in async tests are removed

* test refactored

* updates in _shared duplicated in chat

* updates in _shared duplicated in sms

* updates in _shared duplicated in networktraversal

* updates in _shared duplicated in phonenumbers

* lint issue fix in utils

* python 2 compatibility fix for generate_token_with_custom_expiry & fixed sync tests termination

* removed unneccasary user credential tests from sms,chat, networktraversal,phonenumber

* reduced the default refresh interval (api review)

* time renamed to interval (api review)

* removed config for refresh time interval

* sync changes across modalities

* linting issues

* linting issues

* implemented fractional backoff + fixed tests

* unify test with the sync version

* fractional backoff tests + linting

* added changelog records + bumped versions

* Removed ayncio.Lock workaround for a bug in Python 3.10

* fixed linting issues

* phonenumbers changelog updated

* fixed PR comments

* removed user_token_refresh_options from communication SDKs

* fix cspell issues

* type hinting fix

* reverted back type hint fix

* PR comment fix

* reflected changes to the identity package & updated tests

* added samples for CommunicationTokenCredential

* renaming proactive refresh flag

* latest PR comments fix

* samples are refactored

* reflecting shared folder changes to other modalitites

* fixed a typo

* fix for pypy threading issue

* fixed test files

* fixed latest PR comments

Co-authored-by: Aigerim Beishenbekova <[email protected]>
Co-authored-by: Aigerim Beishenbekova <[email protected]>
Co-authored-by: Aigerim <[email protected]>
Co-authored-by: Aigerim Beishenbekova <[email protected]>

* Comment out assert for now, requires further investigation (#24691)

* [formrecognizer] Adding 2022-06-30-preview work (#24701)

* move June beta work to main repo

* [formrecognizer] Fix documentation (#24269)

* fix missing brackets in docs

* remove extra brackets

* add case insensitive enum meta

* merge pylint changes

* fix broken links (#24127)

Co-authored-by: Krista Pratico <[email protected]>

* temporarily skip aad tests (#24708)

* [Doc] update doc for resolve_issues_effectively (#24642)

* create doc

* remove to the folder

* Update resolve_issues_effectively.md

Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-batch-2022-06-01-88601(Do not merge) (#24659)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-sqlvirtualmachine-2022-06-02-79158(Do not merge) (#24672)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* Update readme.python.md (#24710)

* remove global config for multiapi (#24542)

* Auto release debug (#24713)

* fix auto-ask-check bug

* update comment

* update comment

* fix bug

* Update main.py

* Update main.py

* Update main.py

* fix changelog format for new service

* fix check_pprint_name bug

* Update main.py

* fix check_pprint_name bug

* Update main.py

* Update main.py

* test

* test

* change to azclibot

* change to azure

* fix push

* test

* update

* update

* test

* test

* reduction

* update main

* delete f

* Update main.py

* test

* test

* test

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* remove surplus code

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* fix bug

* update

* test

* update code

* update bot

* update main bot

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

Co-authored-by: Yuchao Yan <[email protected]>

* update tests (#24716)

* update changelog for release (#24709)

* Add Build Definition For `Azure-CLI` tests (#24705)

* create parameterized build yml that can be used to run the azure CLI tests. At queue time, parameters are available to set PythonVersion, which azure-sdk-for-python are installed, and which "other" requiements should be installed prior to invoking CLI tests

* [translation] updates for release (#24720)

* updates for GA

* docs sweep

* updating readme for ce (#24728)

* [EventHubs&ServiceBus] fix tests/samples/cspell (#24719)

* ignore SB custom endpoint samples

* cspell

* try fixing EH flaky test

* [AutoRelease] t2-imagebuilder-2022-05-26-64518(Do not merge) (#24601)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Jiefeng Chen <[email protected]>

* Update sdk_packaging.toml (#24741)

* [AutoRelease] t2-communication-2022-06-07-16458(Do not merge) (#24742)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [storagesync] update toml (#24743)

* update

* Packaging update of azure-mgmt-storagesync

Co-authored-by: Azure SDK Bot <[email protected]>

* [KV] Update metadata for release (#24731)

* Increment version for translation releases (#24747)

Increment package version after release of azure-ai-translation-document

* [formrecognizer] README and release updates  (#24726)

* README updates for release

* run black

* update house number description

* make readme more general for prebuilts

* [formrecognizer] Unskip tests (#24733)

* unskip tests

* update recordings

* [formrecognizer] Add paragraphs to prebuilt read samples (#24746)

* add paragraphs to prebuilt read samples

* format bounding region

* [Storage] STG 83 (#24551)

* [EventHubs] update buffered producer docstring (#24729)

* run black

* update buffer_concurrency docstring

* docstring debug method update

* lint

* update release date

* lint

* fix Sphinx Tox Environment Re-Usability (#24748)

* tox decided to stop cleaning up the dist folder. now we manually clean a folder which is unzipped with every sphinx invocation. this ensures that repeated tox runs will suceed

* Increment version for keyvault releases (#24750)

Increment package version after release of azure-keyvault-certificates

* [Storage] Improve exception raised when uploading 'dict' Blob (#24730)

* [formrecognizer] Remove document captions and footnotes (#24749)

* remove document captions and footnotes

* remove caption and footnote impl

* skip failing test

* remove caption and footnote from repr and dict test

* [Storage] Fix page blob tier on `upload_blob` (#24755)

* Increment version for formrecognizer releases (#24759)

Increment package version after release of azure-ai-formrecognizer

* [AutoRelease] t2-appconfiguration-2022-06-02-69007(Do not merge) (#24673)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* Remove "feature/*" from formrecognizer CI triggers (#24758)

- Aligns with other services

* EventHub Troubleshooting Guide (#24697)

* changes for eh troubleshooting guide

* trouble shooting guide for python

* review comments

* more fixes

* changes for error handling etc

* update for retry policy

* migration guide changes

* Update to OpenTelemetry api/sdk 1.12.0rc1 (#24619)

* Add missing credential types to Azure Identity README (#24771)

* [EventHub] update get_buffered_event_count docstring (#24756)

* [AutoRelease] t2-compute-2022-06-06-50198(Do not merge) (#24717)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [AutoRelease] t2-cognitiveservices-2022-06-08-73722(Do not merge) (#24760)

* code and test

* update version

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-containerservice-2022-06-06-20142(Do not merge) (#24715)

* code and test

* Update CHANGELOG.md

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* [textanalytics] regenerate and record on 2022-05-01 (#24768)

* regen 2022-05-01 with python autorest 5.16.0

* rerecord with GA api version, skip analyze endpoint for now

* add missing async patch

* bump min azure-core version

* pylint/mypy fixes

* add typingextensions dep

* fixes for samples

* [Test Proxy] Update positional parameter guidance (#24790)

* code and test (#24712)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* [Python] Custom Teams Endpoint (CTE) GA (#22987)

* regenerated & updated new client for GA(2022-06-01) version

* updated recordings & unit tests for CTE

* updated networktraversal recordings

* removed all occurrences of api_version parameter in other SDKs

* changed release version

* updated helper.py in all test shared folder

* synced test shared folders

* fix for cspell check

Co-authored-by: Aigerim Beishenbekova <[email protected]>
Co-authored-by: Petr Švihlík <[email protected]>

* Update CHANGELOG to prepare for 1.0.0b6 release (#24792)

* [Storage] Remove batch delete_files() (#24770)

* [Tool] update codegen (#24808)

* update codegen

* Update tools/azure-sdk-tools/packaging_tools/auto_codegen.py

Co-authored-by: Yuchao Yan <[email protected]>

* Update generate_sdk.py

Co-authored-by: Yuchao Yan <[email protected]>

* [Pepeline] SDK Auto release (#24803)

* fix auto-ask-check bug

* update comment

* update comment

* fix bug

* Update main.py

* Update main.py

* Update main.py

* fix changelog format for new service

* fix check_pprint_name bug

* Update main.py

* fix check_pprint_name bug

* Update main.py

* Update main.py

* test

* test

* change to azclibot

* change to azure

* fix push

* test

* update

* update

* test

* test

* reduction

* update main

* delete f

* Update main.py

* test

* test

* test

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* remove surplus code

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* fix bug

* update

* test

* update code

* update bot

* update main bot

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* change branch for test

* for test

* for test

* for test

* add python_tag

* restore branch

* Update PythonSdkLiveTest.yml

* update global_conf

* Update auto_codegen.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update main.py

* Update main.py

Co-authored-by: Yuchao Yan <[email protected]>

* [Script] Auto release debug (#24821)

* fix auto-ask-check bug

* update comment

* update comment

* fix bug

* Update main.py

* Update main.py

* Update main.py

* fix changelog format for new service

* fix check_pprint_name bug

* Update main.py

* fix check_pprint_name bug

* Update main.py

* Update main.py

* test

* test

* change to azclibot

* change to azure

* fix push

* test

* update

* update

* test

* test

* reduction

* update main

* delete f

* Update main.py

* test

* test

* test

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* remove surplus code

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* fix bug

* update

* test

* update code

* update bot

* update main bot

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update main.py

* Update main.py

* change branch for test

* for test

* for test

* for test

* add python_tag

* restore branch

* Update PythonSdkLiveTest.yml

* update global_conf

* Update auto_codegen.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update generate_sdk.py

* Update main.py

* Update main.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

Co-authored-by: Yuchao Yan <[email protected]>

* update autorest version and template for pytyped (#24823)

* [EventHubs] update checkpointstoreblob README title (#24825)

fixes: #15793

* Increment package version after release of azure-monitor-opentelemetry-exporter (#24812)

* Sync eng/common directory with azure-sdk-tools for PR 3433 (#24828)

* add condition

* divide line

Co-authored-by: Mariana Rios Flores <[email protected]>

* Override live test location default to westus (#24684)

* [textanalytics] remove extractive text summarization (#24793)

* remove extractive text summarization for GA

* cspell

* [Storage] STG83 Changelogs (#24829)

* [mgmt][core] upgrade min dependency for `azure-core` (#24245)

* code

* Update shared_requirements.txt

* update changelog

* Update CHANGELOG.md

* Update _version.py

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* code and test (#24819)

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [Datalake] Fix connection string parsing (#24779)

* Fix dfs conn str parsing

* Added unittest

* Some more tests

* Identity environmnet credential cert password (#24826)

* environmnet credential add supports for the cert password

* update doc

* fix typo

* Update sdk/identity/azure-identity/azure/identity/aio/_credentials/environment.py

Co-authored-by: Charles Lowell <[email protected]>

* update

* Update sdk/identity/azure-identity/azure/identity/_credentials/environment.py

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: McCoy Patiño <[email protected]>

* update

Co-authored-by: Charles Lowell <[email protected]>
Co-authored-by: McCoy Patiño <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 3267 (#24514)

* Use seperate scripts

* address comments.

* do compare and update

* save on the service level readme

* have the helper for reuse function

* remove mgmt table

* changes

* fix

* no return on error

* return if no contents

* Address comments

* change the table

* address wes comments.

* address wes comments.

* address more comments.

Co-authored-by: sima-zhu <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 3386 (#24837)

* Update the order of remarks and examples to align with docs.ms

* change all occurance

* Update class.tmpl.partial

Co-authored-by: sizhu <[email protected]>
Co-authored-by: Sima Zhu <[email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants