Skip to content

Commit

Permalink
Applying some of the comments received from Azure Board (#21645)
Browse files Browse the repository at this point in the history
* fix for service principal environment vars (#21287)

* [Storage]fix type annotation (#20096)

* [Storage][Logging]Let users opt in logging_request_body (#19710)

* [Storage][Logging]Let users opt in logging_request_body

* Update policies.py

* Update policies.py

* Update policies.py

* Update policies.py

* logging response body

* Update settings_fake.py

* Feature/storage stg79 (#21286)

* update swagger

* encryption scope sas

* permanent delete sas

* sync copy from url with encryption scope

* manually edit swagger

* Update _version.py

* [AutoRelease] t2-containerservice-2021-10-18-97657 (#21294)

* CodeGen from PR 16215 in Azure/azure-rest-api-specs
Dev containerservice microsoft.container service 2021 09 01 (#16215)

* Adds base for updating Microsoft.ContainerService from version stable/2021-08-01 to version 2021-09-01

* Updates readme

* Updates API version in new specs and examples

* Add gmsaProfile in WindowsProfile for AKS (#15976)

* Add gmsaProfile in WindowsProfile for AKS

* fix spell errors

* Fix lint issue

* Update readme.md for AKS 2021-09-01

* Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 API (#16082)

* Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 RP API

* Expose a few more snapshot properties in 2021-09-01 swagger to match 2021-09-01 RP API

Co-authored-by: Charlie Li <[email protected]>

* Agent pool start/stop  (#16105)

* added examples for agentpool start/stop

* fixed code styling

* added 201 response code in examples

* added 201 response code object

* added missing parameter

* updated description for power state and added title

* added power state to request body properties

* Update specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-09-01/managedClusters.json

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

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

Co-authored-by: Charlie Li <[email protected]>
Co-authored-by: Charlie Li <[email protected]>
Co-authored-by: rsamigullin <[email protected]>
Co-authored-by: Matthew Christopher <[email protected]>

* version,CHANGELOG

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: Charlie Li <[email protected]>
Co-authored-by: Charlie Li <[email protected]>
Co-authored-by: rsamigullin <[email protected]>
Co-authored-by: Matthew Christopher <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* Increment package version after release of azure-messaging-webpubsubservice (#21280)

* Increment version for purview releases (#21279)

* Increment package version after release of azure-purview-administration

* Increment package version after release of azure-purview-catalog

* Increment package version after release of azure-purview-scanning

* [WIP]Refactor AzureJSONEncoder (#21028)

* Refactor AzureJSONEncoder

* Improved readability of AzureJSONEncoder datetime handling

* Rename _timestr_as_isostr() to _datetime_as_isostr()
* Move datetime.timedelta object handling function call (_timedelta_as_str()) to _datetime_as_isostr() inside
* Rename private method (_datetime_as_isostr, _timedelta_as_str) parameter value, o to dt, td

* Add some docstring

* Fix typo and add type checking

* Fix typo some docstring 
* Renamed _timedelta_as_str to _timedelta_as_isostr
* Add type checking in _datetime_as_isostr

* Improve type checking and rename some inner variables

* update changelog (#21308)

* adjust the docker-start-proxy to take advantage of the linux specific commands that allow contact of localhost (#21310)

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

* Remove link to private repo (#21312)

* fix uri (#20632)

* fix uri

* update

* update changelog

* udpates

* [formrecognizer] Add proper defaults on DocumentTableCell (#21213)

* add proper defaults on document table cell

* default kind field

* set default in _from_generated and improve init

* revert changes to init, fix test comment

* set content default for kind

* update testcase to account for default scenarios

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

* Add group id into metadata for java use

* Update Update-DocsMsPackages.ps1

* Update Update-DocsMsPackages.ps1

* Update eng/common/scripts/Update-DocsMsPackages.ps1

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

* Update eng/common/scripts/Update-DocsMsPackages.ps1

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

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

* Revert "Feature/storage stg79 (#21286)" (#21317)

This reverts commit 14496e7d739a14b7a91f4ad10d0e5a3ddf7b27a1.

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

* Fix up identity resolver to make it more reliable, publish notification configuration as a tool

* Use both username and email to resolve queuing user

Co-authored-by: Chidozie Ononiwu <[email protected]>

* [AutoRelease] t2-recoveryservicesbackup-2021-10-19-33781 (#21330)

* CodeGen from PR 15881 in Azure/azure-rest-api-specs
[Hub Generated] Review request for Microsoft.RecoveryServices to add version stable/2021-08-01 (#15881)

* Adds base for updating Microsoft.RecoveryServices from version stable/2021-07-01 to version 2021-08-01

* Updates readme

* Updates API version in new specs and examples

* Fixing readme file

* version,CHANGELOG

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Zed Lei <[email protected]>

* update to latest test-proxy tag (#21334)

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

* [Perf] Support multiple test proxies (#21203)

- Some scenarios require multiple test-proxy URLs to bottleneck client
- test-proxy URLs are assigned round-robin to parallel test instances
- Ported from Azure/azure-sdk-for-net#24265

* [AutoRelease] t2-hybridkubernetes-2021-10-04-45305 (#21037)

* CodeGen from PR 15956 in Azure/azure-rest-api-specs
New GA version changes - 2021-10-01 (#15956)

* New GA api-version changes- 2021-01-01

* readme changes

* readme changes

* add systemdata definition

* system data ref fix

* system data ref fix

* fix

* fix

* fix

* remove empty patch section

* revert patch section

* lint fix

* lint fix

* lintfix

* readme changes

* Update readme.md

* remove property bag from cc update example

* Fixing listClusterUserCreds examples

* hide creds

* example file naming changes and clientProxy flag correction

Co-authored-by: Siri Teja Reddy Kasireddy <[email protected]>
Co-authored-by: msyyc <[email protected]>

* version,CHANGELOG

* Update CHANGELOG.md

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: Siri Teja Reddy Kasireddy <[email protected]>
Co-authored-by: msyyc <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>

* del useless version (#21345)

* Updating CODEOWNERS for ACS Identity (#20881)

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

* [core] fix isinstace str check in core rest (#21341)

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

* Consume Codeowners parser library, ceperate users from teams in codeownerse

* Update get-pr-owners and related logic

Co-authored-by: Chidozie Ononiwu <[email protected]>

* [Search] Update for missing properties (#21205)

* Expose select kwarg on list operations.

* Update search for missing properties: session_id, scoring_statistics

* Update `SearchIndexerDataSourceConnection` missing properties: identity, encryption_key

* Fix linter issues.

* Update CHANGELOG.

* [ACR] React to stable/2021-07-01 swagger changes (#21110)

* Fix OrMetadata (#21316)

* settings files

* OrMedata Fix

* [AutoRelease] t2-chaos-2021-10-21-14806 (#21354)

* CodeGen from PR 16453 in Azure/azure-rest-api-specs
Adding Microsoft.Chaos API Version 2021-09-15-preview. (#16453)

* [baseline] Microsoft.Chaos private preview API Version 2021-09-15-preview.

* msft.chaos PublicPreview API 2021-09-15-preview
* Add neccessary readme's from swagger tool branch generation.
* remove artifiact resource from public preview.
* fix static linter issues.

* version,CHANGELOG

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

* [AutoRelease] t2-dataprotection-2021-10-19-69515 (#21333)

* CodeGen from PR 16451 in Azure/azure-rest-api-specs
Update readme.python.md (#16451)

* Update readme.python.md

* config readme

* version,CHANGELOG

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

* docs (#21360)

* Fix Monitor Query async logs query sample (#21351)

* Fix Monitor Query async logs query sample

* Remove extra space

* Added support for Async Generators in TableClient.submit_transaction method (#21119)

* added support for async iterables in submit_transcation method

* the warning is a known issue in pylint https://github.com/PyCQA/pylint/issues/3507

* fixed formatting issues

* Code tweaks + tests

* Fixed grammar

* Improved readability

* Fix for Py27

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

* move async test to _async (#21363)

* [SchemaRegistry] add async version of avro serializer (#21026)

fixes: #20709

* Remove azure-mgmt-webpubsub (#21347)

* Update Language-Settings.ps1 (#21367)

* patching last references to master in the repo! (#21339)

* [AutoRelease] t2-network-2021-10-21-48085 (#21357)

* CodeGen from PR 16471 in Azure/azure-rest-api-specs
readme.python config (#16471)

* version,CHANGELOG

* test

* Update CHANGELOG.md

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

* Removed auto pagination (#21358)

* Removed auto pagenation

* removed

* added manual pagenation

* fixed issue

* spacing

* pylint

* linter

* [Cosmos] get_user_client() method documentation update (#21379)

* Fully automate cluster buildout. Add azure file share mount to stress tests. (#21382)

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

* update error code in tests (#21362)

* [formrecognizer] Rename DocumentElement to DocumentContentElement (#21323)

* rename DocumentElement to DocumentContentElement

* add to changelog

* [AutoRelease] t2-keyvault-2021-10-15-69767 (#21276)

* CodeGen from PR 16400 in Azure/azure-rest-api-specs
Update readme.python.md (#16400)

* version,CHANGELOG

* test

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

* [AutoRelease] t2-chaos-2021-10-25-61789 (#21390)

* CodeGen from PR 16501 in Azure/azure-rest-api-specs
Update Chaos Client Name + Update outdated examples. (#16501)

* version,CHANGELOG

* Update CHANGELOG.md

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

* [AVA] Updated sdk to 1.1 (#21326)

* updated sdk to 1.1

* small changes to changelog and readme

* adding preview version back to changelog

* updating version number

* changing order of versions in readme

* [AutoRelease] t2-azurearcdata-2021-10-14-24172 (#21251)

* CodeGen from PR 16275 in Azure/azure-rest-api-specs
Adding 2021-11-01 version for Microsoft.AzureArcData (#16275)

* Adding API Version 2021-11-01

* Updating example and naming

* Remove password

* Update field description

* version,CHANGELOG

* Update CHANGELOG.md

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

* [AutoRelease] t2-containerregistry-2021-10-26-15283 (#21410)

* CodeGen from PR 15990 in Azure/azure-rest-api-specs
[ACR] [New Api Version] add 2021-08-01-preview  (#15990)

* Initial commit for comparison with previous release

* Add new swagger 2021-08-01-preview and examples

* version,CHANGELOG

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

* [AutoRelease] t2-cosmosdb-2021-10-26-16894 (#21412)

* CodeGen from PR 15733 in Azure/azure-rest-api-specs
[Hub Generated] Review request for Microsoft.DocumentDB to add version stable/2021-10-15 (#15733)

* Adds base for updating Microsoft.DocumentDB from version stable/2021-06-15 to version 2021-09-15

* Updates readme

* Updates API version in new specs and examples

* Add support for fetching continuous backup information for latest restorable timestamp.

* Adding locations API and backupRedundancy

* Fixing ref

* Add 10-15 Preview along with ClientEncryptionKey management changes

* Renaming 2021-09-15 api version to 2021-10-15

* Fixing some more renames

* fix validation checks

* add clientencryptionkeys to custom-words

* initial commit

* Swagger specifiations

* readme file updated

* Review comments addressed

* Added TotalThroughputLimit property to Database Create and Update

* Rebased and added type to capacity

* Added changes to preview folder as well

* Added changes to missing files

* initial checkin of base version

* Adding examples; /deallocate and /start api in swagger

* update readme.md file

* Removing 2021-10-15-preview changes

* managed cassandra swagger changes for GA

* Fixing linter issues

* minor description fixes

* adding missing example

* add stable and preview swagger

* revert to Thu Sep 9 2021 change

* fix linter errors in swagger

* fix validation errors

* validation fixes

* remove fetchNodeStatus from stable

* remove unused example file, fix validation error

* Fixing the spell check and formatting issues

* remove /repair api, make /command async

* remove unreferrenced example json

* remove pageable link from /status api

* remove backups api, add cassandraAuditLoggingEnabled property

* add cassandraAuditLoggingEnabled property

* make /status api async, minor fixes

* remove async tag to /status

* remove connectivity property, add Ldap as preview

* remove unreferenced example files

* use guid in subid for examples

* add backupStorageCustomerKeyUri property

* fix api response code

* remove ldap

* Changing operationId for locations API

* review comments

Co-authored-by: REDMOND\amisi <[email protected]>
Co-authored-by: Anuj Toshniwal <[email protected]>
Co-authored-by: Abhijit Karanjkar <[email protected]>
Co-authored-by: Praful Johari <[email protected]>
Co-authored-by: visunda <[email protected]>
Co-authored-by: Vivek Sundararajan <[email protected]>
Co-authored-by: vivek-microsoft <[email protected]>

* version,CHANGELOG

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: REDMOND\amisi <[email protected]>
Co-authored-by: Anuj Toshniwal <[email protected]>
Co-authored-by: Abhijit Karanjkar <[email protected]>
Co-authored-by: Praful Johari <[email protected]>
Co-authored-by: visunda <[email protected]>
Co-authored-by: Vivek Sundararajan <[email protected]>
Co-authored-by: vivek-microsoft <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* Update reply comment (#21399)

* release_iseus_status_auto_reply

* issue_aoto_close_revert

* Update main.py

* Update main.py

* Update update_issue_body.py

* Update reply_generator.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update reply_generator.py

* Update main.py

* Update scripts/release_issue_status/update_issue_body.py

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

* Update scripts/release_issue_status/update_issue_body.py

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

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update main.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update main.py

* Update reply_generator.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_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update reply_generator.py

* Add files via upload

* Update reply_generator.py

* Update update_issue_body.py

* Update reply_generator.py

* Update auto_pipeline_run.py

* Update auto_pipeline_run.py

* add auto-close

* Update release_issue_status.yml for Azure Pipelines

* Update auto_close.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* fix bug

* Update main.py

* Update auto_close.py

* Update auto_close.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update auto_close.py

* Update main.py

* Update auto-close

* Update auto_pipeline_run.py

* Update update_issue_body.py

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update auto_pipeline_run.py

* Add pipeline link

* Update pipeline link

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update requirement.txt

* Update auto_pipeline_run.py

* Add get_python_pipeline

* Update auto_pipeline_run.py

* test

* test

* add outputfolder

* add label

* Update main.py

* Update get_python_pipeline.py

* Update main.py

* Update auto_pipeline_run.py

* Add utils

* Update main.py

* Update main.py

* Delete old py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update utils.py

* Update utils.py

* Update main.py

* Update main.py

* Update reply_generator.py

* Update utils.py

* Add get_changelog function

* Update utils.py

* Update reply_generator.py

* Update main.py

* Update reply_generator.py

* Update function

* del useless code

* Update utils.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update utils.py

* Update auto-close

* Update release_issue_status.yml for Azure Pipelines

* Update utils.py

* Update utils.py

* Fix auto-close bug

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update release_issue_status.yml for Azure Pipelines

* Add assign

* Update reply_generator.py

* Update reply_generator.py

* Update assignee

* Update assignee

* Update main.py

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

* [textanalytics] feature/ta-v3.2-preview.2 (#21409)

* [textanalytics] regen on v3.2 preview.2 (#20674)

* regenerate with version 3.2-preview.2

* hook up convenience layer to new api version

* fix import and skip tests for now

* [textanalytics] add support for custom text actions (#20721)

* impl for custom actions sync/async + models

* remove project_name and deployment_name from result models

* update naming to classify documents

* add samples for arch board

* fix sample

* update naming to align with all langs

* update sample names

* arch board feedback

* rename samples and fix types

* regenerate on latest swagger

* add new tests and recordings

* make corrections to code based on renames

* remove samples from PR

* fix

* update changelog

* update missing docstrings

* bump azure-core for azure.core.rest

* re-enable tests and record for v3.2-preview.2 (#21106)

* add 2.7 disclaimer in readme and 3.10 to setup classifiers (#21096)

* [textanalytics] support multiple actions of the same type (#21152)

* allow support for multiple actions of the same type

* rerecord all analyze tests now that we set task_name

* lint

* review feedback

* izzy's feedback

* [textanalytics] add samples for custom text actions (#21182)

* add samples for custom text actions

* add samples + links to samples readme

* wording

* switch to asyncio.run in async samples

* [textanalytics] update readme + docs (#21272)

* readme updates

* more docs updates

* update with aka links to service docs

* updating env vars with temp persistent resource (#21342)

* rerecord test

* [textanalytics] enabling support for rehydration of LROs in TA (#21338)

* enabling support for rehydration of LROs in TA

* lint

* updating docs

* review feedback

* update envars so live tests pass

* Add latest released version to prepare prerelease (#21420)

Co-authored-by: Chidozie Ononiwu <[email protected]>

* Removing URL validation

* Removing validations for recording apis

* remove unnecessary awaits in test (#21423)

* Update Monitor Query library samples (#21371)

* Update Monitor Query library samples

* Update casing of uri

* Link to DefaultAzureCredential docs

* [core] remove asynciterable inclusion in 2.7 HttpRequest content keyword description (#21424)

fixes #21406

* fix doc about duplicate actions (#21429)

* [core] fix "read" not awaited warning in ContentDecodePolicy for async responses (#21318)

* fix assertion for signature type fields (#21428)

* Auto check base branch (#21441)

* version auto-calculation rule

* single api version rule

* Update main.py

* additional rule for track1

* when changelog is null

* Update PythonSdkLiveTest.yml for Azure Pipelines

Add `ISSUE_LINK`

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update livetest_package.txt

* Create create_pr.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

use python script tu create pr

* Update PythonSdkLiveTest.yml for Azure Pipelines

* create py

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update token

* Update token

* test create_pr

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update create_pr.py

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update PythonSdkLiveTest.yml for Azure Pipelines

* add_comment

* update by jf

* Update PythonSdkLiveTest.yml

* Update create_auto_release_pr

* Update create_auto_release_pr.py

* Update create_auto_release_pr.py

* Update yaml and py

* Update create_auto_release_pr.py

* Update create_auto_release_pr.py

* Update create_auto_release_pr.py

* Update PythonSdkLiveTest.yml

* Update create_auto_release_pr.py

* Update PythonSdkLiveTest.yml

* Update PythonSdkLiveTest.yml for Azure Pipelines

* Update create_auto_release_pr.py

* update for swagger exception

* update

* Update create_auto_release_pr.py

* update

* update

* update

* update

* update

* update

* update

* Update main.py

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

* auto branch attention (#21445)

* release_iseus_status_auto_reply

* issue_aoto_close_revert

* Update main.py

* Update main.py

* Update update_issue_body.py

* Update reply_generator.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update reply_generator.py

* Update main.py

* Update scripts/release_issue_status/update_issue_body.py

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

* Update scripts/release_issue_status/update_issue_body.py

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

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update main.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update main.py

* Update reply_generator.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_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update reply_generator.py

* Add files via upload

* Update reply_generator.py

* Update update_issue_body.py

* Update reply_generator.py

* Update auto_pipeline_run.py

* Update auto_pipeline_run.py

* add auto-close

* Update release_issue_status.yml for Azure Pipelines

* Update auto_close.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* fix bug

* Update main.py

* Update auto_close.py

* Update auto_close.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update auto_close.py

* Update main.py

* Update auto-close

* Update auto_pipeline_run.py

* Update update_issue_body.py

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update auto_pipeline_run.py

* Add pipeline link

* Update pipeline link

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update requirement.txt

* Update auto_pipeline_run.py

* Add get_python_pipeline

* Update auto_pipeline_run.py

* test

* test

* add outputfolder

* add label

* Update main.py

* Update get_python_pipeline.py

* Update main.py

* Update auto_pipeline_run.py

* Add utils

* Update main.py

* Update main.py

* Delete old py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update utils.py

* Update utils.py

* Update main.py

* Update main.py

* Update reply_generator.py

* Update utils.py

* Add get_changelog function

* Update utils.py

* Update reply_generator.py

* Update main.py

* Update reply_generator.py

* Update function

* del useless code

* Update utils.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update utils.py

* Update auto-close

* Update release_issue_status.yml for Azure Pipelines

* Update utils.py

* Update utils.py

* Fix auto-close bug

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update release_issue_status.yml for Azure Pipelines

* Add assign

* Update reply_generator.py

* Update reply_generator.py

* Update assignee

* Update assignee

* Update main.py

* Update main.py

* Update main.py

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

* [SchemaRegistry] avro serializer add exceptions (#21381)

* exceptions file

* abstract object serializer

* add tests

* async apache tests

* lint

* update internal docstring

* more docstring

* fix tests

* async update

* fix

* remove fastavro

* docstring

* test fix

* adams comments

* lint

* comments

* changelog

* nit

* lint

* nit

* [qna] fix metadata conversion from user's tuples to the dict object the service requires (#21432)

* [textanalytics] updating custom samples (#21434)

* updating samples to use given training data

* updates

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

* Remove the new sdk check and populate json for track 1 package

* Update Save-Package-Properties.ps1

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

* Removing bad comments

* [Test Proxy] Rename decorators, support variables API (#21386)

* [AutoRelease] t2-videoanalyzer-2021-10-25-84743 (#21389)

* CodeGen from PR 16513 in Azure/azure-rest-api-specs
Remove readonly on segment length property (#16513)

* version,CHANGELOG

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

* [ServiceBus] GA SBAdminClient maxMessageSizeInKilobytes (#21353)

* [ServiceBus] Add large message support to SBAdministrationClient (#20812)

* impl

* update swagger

* upload recordings

* fix mypy pylint

* review feedback

* update classifier

* Increment version for servicebus releases (#21115)

Increment package version after release of azure-servicebus

* add multi api version support

* add api version

* fix mypy

* more mypy fix

* address review

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

* opt out of autorest verification (#21473)

* Bit more complicated parsing of the `requirements_to_exclude` during `install_depend_packages.py` (#21459)

* we split the reqs being compared by specifier, then compare the whole package names. no more startsWith means we don't accidentally clean out a real dev_req
* apply black to install_depend_packages.py

* Remove legacy resource group live test deployment (#21458)

* Remove legacy resource group live test deployment

* Remove DeployArmTemplate flag and deploy by default

* Use absolute path to deploy test resources template

* [QnA] Renames (#21464)

* First GA regen

* Updated operations

* Updated tests

* Updated samples

* Updated changelog

* Fixed some type hints

* Review feedback

* Fixed URLs

* Renamed context

* [QnA] Made operations groups internal (#21477)

* Made operations private

* Updated changelog

* update doc links (#21483)

* [KV] Update logging tests (#21454)

* update release issue status (#21489)

* release_iseus_status_auto_reply

* issue_aoto_close_revert

* Update main.py

* Update main.py

* Update update_issue_body.py

* Update reply_generator.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update scripts/release_issue_status/main.py

* Update scripts/release_issue_status/update_issue_body.py

* Update reply_generator.py

* Update main.py

* Update scripts/release_issue_status/update_issue_body.py

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

* Update scripts/release_issue_status/update_issue_body.py

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

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update main.py

* Update update_issue_body.py

* Update main.py

* Update scripts/release_issue_status/main.py

* Update main.py

* Update reply_generator.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_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update reply_generator.py

* Update update_issue_body.py

* Update main.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update update_issue_body.py

* Update main.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update reply_generator.py

* Add files via upload

* Update reply_generator.py

* Update update_issue_body.py

* Update reply_generator.py

* Update auto_pipeline_run.py

* Update auto_pipeline_run.py

* add auto-close

* Update release_issue_status.yml for Azure Pipelines

* Update auto_close.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* fix bug

* Update main.py

* Update auto_close.py

* Update auto_close.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update auto_close.py

* Update main.py

* Update auto-close

* Update auto_pipeline_run.py

* Update update_issue_body.py

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update auto_pipeline_run.py

* Add pipeline link

* Update pipeline link

* Update auto_pipeline_run.py

* Update release_issue_status.yml for Azure Pipelines

* Update auto_pipeline_run.py

* Update requirement.txt

* Update auto_pipeline_run.py

* Add get_python_pipeline

* Update auto_pipeline_run.py

* test

* test

* add outputfolder

* add label

* Update main.py

* Update get_python_pipeline.py

* Update main.py

* Update auto_pipeline_run.py

* Add utils

* Update main.py

* Update main.py

* Delete old py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update main.py

* Update utils.py

* Update utils.py

* Update main.py

* Update main.py

* Update reply_generator.py

* Update utils.py

* Add get_changelog function

* Update utils.py

* Update reply_generator.py

* Update main.py

* Update reply_generator.py

* Update function

* del useless code

* Update utils.py

* Update main.py

* Update reply_generator.py

* Update main.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update reply_generator.py

* Update main.py

* Update main.py

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update release_issue_status.yml for Azure Pipelines

* Update release_issue_status.yml for Azure Pipelines

* Update main.py

* Update utils.py

* Update auto-close

* Update release_issue_status.yml for Azure Pipelines

* Update utils.py

* Update utils.py

* Fix auto-close bug

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update release_issue_status.yml for Azure Pipelines

* Add assign

* Update reply_generator.py

* Update reply_generator.py

* Update assignee

* Update assignee

* Update main.py

* Update main.py

* Update main.py

* update md

* update md

* update md

* update md

* update md

* update md

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

* version rule (#21490)

* [textanalytics] expose action errors (#21472)

* update implementation

* add tests and edits

* update changelog

* review feedback

* update (#19662)

* [formrecognizer] Add signature field type tests (#21480)

* add signature field type tests, update recordings

* update test assertion method

* [Search] Add reset_documents and reset_skills operations (#21475)

* Add reset_skills and reset_documents calls.

* Update changelog.

* Add async operations. Allow name or object invocation.

* Code review comment.

* Expose DocumentKeysOrIds and update typehints.

* Add reset_skills tests.

* Code review feedback.

* [SchemaRegistry] fix failing avro tests (#21478)

* fix

* recordings

* update avro version

* importerror

* pin avro dep

* [SchemaRegistry] remove serializer namespace from client package (#21474)

* remove serializer nmspc from schemaregistry

* newline

* [Identity] Fix multi-tenant auth using async AadClient (#21322)

* [Schema Registry] bug bash docs (#21457)

fixes: #21177

* [textanalytics] custom model docstrings edits (#21498)

* update model docstrings

* fix

* Handling Proper Defaulting of `BuildTargetingString` within nested templates (#21426)

* adding targeting-string-resolve.yml and calling at the root of each "job" in our pipeline. The BuildTargetingString should apply appropriately in all cases now.

* Improved some error behaviour (#21499)

* re-gen clu LLC client (#21417)

* regenrate client

* update model names

* tmp commit

* update model names

* fixing tests

* fix samples

* update readme

* fix remaining samples

* fix env key error

* add recorded tests

* update samples

* add additional samples

* async samples

* disable some samples

* update samples readme

* revert setup.py

* fix broken link

* [AutoRelease] t2-eventhub-2021-10-25-83263 (#21397)

* CodeGen from PR 16363 in Azure/azure-rest-api-specs
EventHub : New API version 2021-11-01 (#16363)

* base commit for new api version 2021-11-01

* new api version 2021-11-01 changes

* CI fixes

* CI fixes

* fix for Python SDK

* added common def v2

* avocado fix

* updated common types

* update to address S360

* S360 fix for DisasterRecoveryConfigs

* Revert "S360 fix for DisasterRecoveryConfigs"

This reverts commit 2476975abd304ee89f1382ceaee280ad3a711e15.

* Added SchemaRegistry API

* CI fixes - Schemagroup

* corrected Schemagroup group properties

* reverted the proxyresource location change

* Revert "reverted the proxyresource location change"

This reverts commit ac79e8a163198742f32adfdc40cc11aa2e039e90.

* addresing S360 swagger correctness fro operations and capture

* updated description for datalake in capture

* subscription format to uuid

Co-authored-by: Damodar Avadhani <[email protected]>
Co-authored-by: v-ajnava <[email protected]>

* version,CHANGELOG

* Update CHANGELOG.md

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: Damodar Avadhani <[email protected]>
Co-authored-by: v-ajnava <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <[email protected]>

* delete eventgrid (#21509)

* Eventgrid del temporarily (#21510)

* delete eventgrid

* Update ci.yml

* Revert "delete eventgrid" (#21512)

* Revert "delete eventgrid (#21509)"

This reverts commit 700dc5e334e868df4b61fba97cf183c31084bbd4.

* Update ci.yml

* Update CHANGELOG.md

* [formrecognizer] Initial work for adding get_children methods (#21224)

* initial get_children work

* add support for cross page elements, update return types

* add tests

* add recordings

* update DocumentContentElement test

* move get children to DocumentKeyValueElement, typing fixes

* remove references to selection marks

* fix document key value element test

* remove long type annotation

* update changelog

* newline

* doc fixes and improvements

* rename test class

* refactor get children methods

* update wording for confidence

* fix document content element docs

* specify return type in get element list helper

* more doc fixes

* fix type return

* refactor get_children into separate methods

* update tests for new methods

* add docs

* update changelog

* remove extra param and check from internal _get_children

* transform words and lines to convenience layer versions

* add test

* pass named params

* pin chardet to assist withfailures (#21521)

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

* support charset_normalizer (#21520)

* support charset_normalizer

* update

* update

* Increment package version after release of azure-core (#21532)

* [textanalytics] release prep (#21522)

* update release date

* update sample descriptions

* update swagger readme

* bump azure-core

* [AutoRelease] t2-signalr-2021-11-01-50053 (#21514)

* CodeGen from PR 16044 in Azure/azure-rest-api-specs
[SignalR] Add stable version 2021-10-01 (#16044)

* init

* remove

* Add 2021-10-01

* Minor update

* version,CHANGELOG

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

* Use https for sparse checkout command (#21535)

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

* Use docker to do package validation. (#21541)

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

* fix UnboundLocalError (#19744)

* fix UnboundLocalError

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* [rest] add kwargs to iter_bytes and iter_raw (#21529)

* add ReplaceLatestEntryTitle parameter for updating changelog (#21485)

* [SchemaRegistry] fix logging_enable bug (#21488)

* move kwarg

* adams comments

* move to helper

* update samples/tests with logging

* remove from samples

* Increment package version after release of azure-ai-textanalytics (#21547)

* [QnA][CLU] Release prep (#21518)

* Added release date

* Bump core version

* Fix async samples

* Bug in setup.py

* Monitor metadata bg (#21513)

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

* Changing inline bash for stress test resource deployment

* PR-mod

* pr-mod

* pr-mod

* pr-mod

Co-authored-by: Albert Cheng <[email protected]>

* raise IncompleteReadError if only receive partial response (#20888)

* raise IncompleteReadError if only receive partial response

* update

* Update CHANGELOG.md

* update

* update

* update

* update

* update

* update

* update

* address review feedback

* update

* update

* update

* update

* Update exceptions.py

* [rest] fix str check in content kwarg to be six.string_types check for 2.7 (#21550)

* Exclude azure-mgmt-videoanalyzer from docs onboarding (#21564)

* [rest] GA in docs! (#21545)

* Support for CNCF cloud event (#21236)

* Support for CNCF cloud event

* changelog

* lint

* Update sdk/eventgrid/azure-eventgrid/dev_requirements.txt

* comments

* ci plus do

* tests

* comments

* readme

* comments

* Update _helpers.py

* lint

* Update _helpers.py

* Update _helpers.py

* [rest] allow users to pass file descriptors to json without raising (#21504)

* update release date (#21574)

* Stress test usability feedback (#21569)

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

* [formrecognizer] Improve URL related doc strings (#21208)

Fixes #20953
Fixes #21173

* [formrecognizer] Use get_words and get_lines in samples (#21533)

* use get_words and get_lines in samples

* fix comment and add info on README

* fix wording in sample

* update readme

* revert additions to README

* add get_words() example to README

* add get children samples

* remove get_lines from entities

* update comment

* Minor updated to parameters and argument message (#21551)

* unredact some headers/query params at the debug info level (#21571)

* fix test by adding raw property in mock response (#21577)

* [AutoRelease] t2-deviceupdate-2021-11-04-38122 (#21250)

* CodeGen from PR 16197 in Azure/azure-rest-api-specs
Changing Identity definition reference to common type (#16197)

This also adds the necessary user assigned identity definitions

* version,CHANGELOG

* Update CHANGELOG.md

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

* [AutoRelease] t2-quota-2021-11-01-54332 (#21507)

* CodeGen from PR 16438 in Azure/azure-rest-api-specs
[QuotaRP] Fix LimitObject polymorphism (#16438)

* Fix LimitObject polymorphism

* move properties out of allOf

* add type to LimitObject

* value is required

* Updating Operations Tag to QuotaOperations.

* Update quota.json

Updating Summary field for operations.

Co-authored-by: Rahul Singh <[email protected]>

* version,CHANGELOG

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: Rahul Singh <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* Add prompt before replasing latest release title on prepare release run (#21579)

Co-authored-by: Chidozie Ononiwu <[email protected]>

* [SchemaRegistry] final api review changes (#21589)

* adding exception to regression tests for telemetry-exporter (#21576)

* Increment package version after release of azure-core (#21594)

* update type hints to reflect actual document body (#21593)

* [formrecognizer] Update changelog for release (#21555)

* update changelog for release

* update samples readme

* add changelog entry for new samples

* reword samples entry

* Update azure-core version to unbreak Search. (#21599)

* [acr] regen with autorest 5.11.0, bump min core dep to 1.20.0 (#21600)

* Revert "Update azure-core version to unbreak Search. (#21599)" (#21610)

This reverts commit 8e98c7f4c38c8303475ca125a63258915c4c5d08.

* update changelog (#21608)

* [SchemaRegistry] update core + SR version (#21573)

for issue #21460

* [SchemaRegistry] generate GA SR from swagger (#21570)

fixes: #20661

* [formrecognizer] Remove get children methods (#21602)

* remove get_words and get_lines methods on models

* remove references to parent elements

* remove extra tests

* delete recordings

* update sample to use document get_words

* remove references to deleted methods in samples

* update changelog

* remove references to old samples in README

* add error for DocumentLines converted from dicts

* shorten long line

* [WebPubSub] Use consistent service description and introduction across all languages (#21544)

* Update Web PubSub readme

1. To keep the service description consistent across different languages
2. update some links

* Update README.md

* delete redundant network version (#21612)

* STG79 Preview (#21591)

* settings files

* update swagger

* encryption scope sas

* permanent delete sas

* sync copy from url with encryption scope

* manually edit swagger

* Update _version.py

* gitignore

* skip failure

* updated versions

* changelog

Co-authored-by: xiafu <[email protected]>
Co-authored-by: Xiaoxi Fu <[email protected]>

* [AutoRelease] t2-eventgrid-2021-10-21-28743 (#21361)

* CodeGen from PR 16469 in Azure/azure-rest-api-specs
Adding missing identity properties and ExtensionTopics operation (#16469)

* Adding missing identity properties and ExtensionTopics operation

* fixing prettier check issues

* Add identity to topic

* Add system data to Extension topic response

* fix lintdiff issue

* version,CHANGELOG

* test

* update test

* Update test

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: msyyc <[email protected]>
Co-authored-by: BigCat20196 <[email protected]>

* Latest API(2021-10-31-preview) changes implementation in azure-communication-identity (#21331)

* update Communication Identity API to enable to use M365 Teams identities to build custom Teams endpoint

* the convenience layer for custom teams endpoint  is created, samples are added, updated CHANGELOG.md, README.md

* live tests & recordings are added

* changed communication identity SDK version & updated live test recordings

* fixed API review comment&updated all related files

* replacing ACS --> Communication Services

* renamed function name as per the azure board review

* disable tests for custom teams endpoint in int

* fix lint issues

* small lint issue fix

* regenerated code which supports older api switching

* api version switching added to clients classes

* fixed failed tests for azure-communication-networktraversal

* recordings are updated

* indent fix in identity_samples.py

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

* indent fix in identity_samples_async.py

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

* generate_teams_user_aad_token replaced to test utils

* test commit, reverting generated code imports

* reverting the last commit

* upgraded min version of azure-core&msrest for autogenerated code

* upgraded min version of azure-core&msrest in shared_requirements.txt

* upgraded min version of azure-core&msrest for chat SDK

* upgraded min version of azure-core&msrest in shared_requirements.txt for chat sdk

* classifiers dev status updated to beta, azure-core&msrect upgraded for networktraversal

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

* [AutoRelease] t2-monitor-2021-11-03-63776 (#21559)

* CodeGen from PR 16645 in Azure/azure-rest-api-specs
config readme (#16645)

* version,CHANGELOG

* test

* Update dev_requirements.txt

* Update dev_requirements.txt

* test,version,CHANGELOG

* test,version,CHANGELOG

* test yaml

* Update CHANGELOG.md

* fix test

* fix test

* fix test

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

* Add Mixed Reality Remote Rendering SDK (#16643)

* Azure Remote Rendering python SDK

fix type hints, fix linter issues

linter and type hints

mypy type fixes

rebase to new authorization pr, regenerate models for updated swagger spec pulling out remoterendering functions

update MANIFEST.in to include all needed files

fix mypy type issues

linter issues

add namespace exclusion for mixed reality

install and extra requires

dev requirements

TokenCredential -> AsyncTokenCredential

version to 1.0.0b1 preview version

remove yaml from manifest

factoring out polling, start models, linting and mypy

add option to specify api version when creating a client

making params to constructor keyword only

undo kwargs changes to client, but want to be able to go back

add rehyrdration of poller

fix linting issues

copy shared code from authentication package

rename of models

make params in async client keyword only

rename update_rendering_session to extend_rendering_session

change kwargs, point to release swagger, change typo

move out of mixedreality folder

pipeline setup files

fix relative path, fename env variable

rename md files so that they are not flagged because of missing headings in the ci pipeline

intermediate rename

rename and move

move pipeline things back

add test infra setup

fix relative paths

fix ci.yml

fix msrest version

in line with mr authentication update azure-core minimum version

remove package version from namespace package

switch to released api version, use swagger directive to rename conversion output

fix changelog

reference namespace package

fix relative dev requirements path

construct client tests

tests

debug live pipeline

try to get live tests

fix python 27

add async client tests, exclude async tests from python 2.7

fix python 3.5 type hinting issue

add recorded tests, enable configuring polling interval on client and per request

put back nspkg to dev requirements

linting

add line to changelog

fix artifact paramater name

prolong session time to prevent live issues in spin up

fix recorded tests

rename Error to RemoteRenderingError, change poller continuation token to not use pickle

try to fix CI

try to fix 2.7

bump template azure core version so analyze step does not complain

more fudging with dev_requirements to fix pipeline

remove pickle from polling

python 2.7 fix

rename max_lease_time_minutes to lease_time_minutes, rename extend_sesssion to update_session

* AsyncLROPoller was introduced in 1.6.0

* fix frozen requirement

* fix mypy error

* throw an exception on error state of conversion and session polling

* fix issues with polling interval in kwargs

* updated README

* updated samples

* fix link

* async polling and readme fix

* fix README long description issue

* polling type fix

* fix README long description issue

* fix tests for failing conversion

* add py.typed to Manifest

* fix package name

* fix type and add how to create sts client

* do not expose RemoteRenderingApiVersion

* make error message clearer

* fix documentation path

* rename remote_renderin_endpoint to endpoint

* adjust session poller default polling interval

* added python 2.7 disclaimer, fix AAD example

* 'can not' -> 'cannot' in clients

* remove deleted:    azure-mixedreality-remoterendering_python.json

* remove outdated comment

* make lease_time_minutes in update_rendering_session a kwargs

* update for release

* [formrecognizer] Add new samples to README (#21607)

* add new sample to table

* fix link

* regenerate artifacts (#21525)

* regenerate artifacts

* update

* update

* update

* [ServiceBus] update release notes (#21615)

* [SchemaRegistry] remove version from docstring (#21617)

* update azure-search-documents dependency on typing-extensions to >= 3.7.4.3 (#21618)

* [Key Vault] Address archboard feedback (#21567)

* Changelog and version (#21614)

* adding trust-proxy-cert to the repo itself (#21624)

* Update changelog. (#21625)

* [SchemaRegistry] avro docs cleanup (#21619)

* avro cleanup

* readme update

* [rest] store decompressed body in response content for aiohttp with decompression headers (#21620)

* [SchemaRegistry] regenerate to fix client side validation (#21629)

* doc updates (#21628)

* Change versions to beta (#21627)

* settings files

* gitignore

* update versions

* [KV-keys]Name change in SKR (#21609)

* [SchemaRegistry] swagger updates + run black (#21631)

* regen josh's swagger updates + run black

* rerecord

* changelog

* [rest] add decompression tests and fix multiple body() calls (#21630)

* [KV] Enable SKR tests on KV (#21621)

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

* adding retry to docker container start

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

* Increment package version after release of azure-batch (#20007)

* Fixing typo in api name

* Removing return types from recording apis (except from start_recording)

* update changelog (#21644)

* Changelog Date Formatting (#21646)

* settings files

* gitignore

* changelog date fix

* changelog date fix

* Use working region/subscription for search deployments (#21568)

* update changelog (#21648)

* Increment version for core releases (#21649)

Increment package version after release of azure-core

* update broken links (#21643)

* update broken links

* update links

* fix dup content (#21651)

* [SchemaRegistry] update format type (#21647)

* updating chart.yaml for stress-test-addons (#21650)

Co-authored-by: Albert Cheng <[email protected]>

* [AutoRelease] t2-synapse-2021-11-08-68636 (#21640)

* CodeGen from PR 16581 in Azure/azure-rest-api-specs
[Synapse]Add auto gen readme files for cli kusto support (#16581)

* Add blockchain to latest profile

* Add additional types

* addclikustosupportautogenfiles

* removealias

* addrepo

Co-authored-by: Mark Cowlishaw <[email protected]>

* version,CHANGELOG

Co-authored-by: SDKAuto <[email protected]>
Co-authored-by: Mark Cowlishaw <[email protected]>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* [webpubsub] add live tests (#21654)

* [AutoRelease] t2-network-2021-11-05-99038 (#21613)

* CodeGen from PR 16618 in Azure/azure-rest-api-specs
[python] replace api-version `2021-03-01` with `2021-05-01` (#16618)

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* version,CHANGELOG

* test

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

* [webpubsub] update for api-version `2021-10-01` (#21393)

* head-as-boolean

* build_auth_token

* review

* handwrite fix for text/plain

* review

* update __init__

* update patch format

* review

* revert reamde.me

* regenerate

* bump min azure-core version for aiohttp fix

* rengerate

* test

* review

* update changelog

* async for get_client_access_token

* dependency

* Code regen

* Fix smoke test

* bump azure-core min dep to 1.20.1

* add client access token tests

* record tests

* add back in JSONType typehints and remove whitespace

* rerecord with unblank

* make super call 2.7 compatible

* address my comments

* get samples running

* context manage from connection string async sample

Co-authored-by: iscai-msft <[email protected]>
Co-authored-by: antisch <[email protected]>

* The release date of 1.1.0b1 is changed in CHANGELOG.md (#21641)

* the release date of 1.1.0b1 is changed in CHANGELOG.md

* checking skipping get_token_for_teams_user env in samples is added

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

* Added reference to exchange teams token section (#21662)

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

* Increment package version after release of azure-search-documents (#21669)

* Increment version for identity releases (#21673)

Increment package version after release of azure-identity

* Increment version for synapse releases (#21672)

Increment package version after release of azure-synapse-artifacts

* update git helper (#21670)

* Validate python docs packages using docker (#21657)

* [SchemaRegistry] remove schema prefix in params (#21675)

* Re-add get-codeowners.ps1 (#21676)

Co-authored-by: Chidozie Ononiwu <[email protected]>

* resolve mac agent …
  • Loading branch information
Show file tree
Hide file tree
Showing 13 changed files with 91 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
CallingServerEventType
)
from ._shared.models import CommunicationIdentifier, CommunicationUserIdentifier, PhoneNumberIdentifier
from ._download import ContentStreamDownloader

__all__ = [
'AudioRoutingMode',
Expand All @@ -35,6 +36,7 @@
'CommunicationIdentifier',
'CommunicationUserIdentifier',
'CallingEventSubscriptionType',
'ContentStreamDownloader',
'CallMediaType',
'CallingOperationStatus',
'PhoneNumberIdentifier',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,9 @@ def start_recording( # pylint: disable=too-many-arguments
start_call_recording_with_calllocator_request = StartCallRecordingWithCallLocatorRequest(
call_locator=serialize_call_locator(call_locator),
recording_state_callback_uri=recording_state_callback_uri,
recording_content_type=recording_content_type,
recording_channel_type=recording_channel_type,
recording_format_type=recording_format_type,
recording_content_type=kwargs.pop("content_type", None),
recording_channel_type=kwargs.pop("channel_type", None),
recording_format_type=kwargs.pop("format_type", None),
**kwargs
)

Expand All @@ -712,13 +712,11 @@ def pause_recording(
self,
recording_id, # type: str
**kwargs # type: Any
): # type: (...) -> HttpResponse
): # type: (...) -> None
"""Pause recording the call.
:param recording_id: Required. The recording id.
:type recording_id: str
:return: The response of the operation.
:rtype: ~azure.core.rest.HttpResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""
Expand All @@ -732,13 +730,11 @@ def resume_recording(
self,
recording_id, # type: str
**kwargs # type: Any
): # type: (...) -> HttpResponse
): # type: (...) -> None
"""Resume recording the call.
:param recording_id: Required. The recording id.
:type recording_id: str
:return: The response of the operation.
:rtype: ~azure.core.rest.HttpResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""
Expand All @@ -752,13 +748,11 @@ def stop_recording(
self,
recording_id, # type: str
**kwargs # type: Any
): # type: (...) -> HttpResponse
): # type: (...) -> None
"""Stop recording the call.
:param recording_id: Required. The recording id.
:type recording_id: str
:return: The response of the operation.
:rtype: ~azure.core.rest.HttpResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""
Expand All @@ -768,7 +762,7 @@ def stop_recording(
)

@distributed_trace()
def get_recording_properities(
def get_recording_properties(
self,
recording_id, # type: str
**kwargs # type: Any
Expand Down Expand Up @@ -819,12 +813,9 @@ def download(
self._callingserver_service_client._config)

return ContentStreamDownloader(
content_url,
content_downloader,
self._callingserver_service_client._config,
start_range,
end_range,
endpoint=content_url,
parallel_download_options=parallel_download_options,
**kwargs
)

Expand All @@ -833,14 +824,11 @@ def delete_recording(
self,
content_delete_url, # type: str
**kwargs # type: Any
): # type: (...) -> HttpResponse
"""Delete recording.
): # type: (...) -> None
"""Deletes the recording and all its related content.
:param content_delete_url: Required. The content delete url.
:type content_delete_url: str
:return: The response of the operation.
:rtype: ~azure.core.rest.HttpResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""
# pylint: disable=protected-access
Expand Down Expand Up @@ -868,5 +856,3 @@ def delete_recording(
map_error(status_code=response.status_code,
response=response, error_map=error_map)
raise HttpResponseError(response=response)

return response
Original file line number Diff line number Diff line change
Expand Up @@ -171,40 +171,31 @@ class ContentStreamDownloader(): # pylint: disable=too-many-instance-attributes
"""A streaming object to download recording content.
:ivar str endpoint:
The url where the content is located.
:ivar ~azure.communication.callingserver.ContentProperties properties:
The properties of the content being downloaded. If only a range of the data is being
downloaded, this will be reflected in the properties.
:ivar int size:
The size of the total data in the stream. This will be the byte range if speficied,
otherwise the total size of the requested content.
"""

def __init__(
self,
clients=None,
config=None,
start_range=None,
end_range=None,
endpoint=None,
parallel_download_options=None,
endpoint,
client,
config,
**kwargs
):
self.endpoint = endpoint
self.properties = None
self.size = None

self._clients = clients
self._clients = client
self._config = config
self._start_range = start_range
self._end_range = end_range
self._max_concurrency = parallel_download_options.max_concurrency if parallel_download_options else 1
self._start_range = kwargs.pop("start_range", None)
self._end_range = kwargs.pop("end_range", None)
self._max_concurrency = kwargs.pop("max_concurrency", 1)
self._request_options = kwargs
self._download_complete = False
self._current_content = None
self._file_size = None
self._non_empty_ranges = None
self._response = None
self._block_size = parallel_download_options.block_size if parallel_download_options else 4*1024*1024
self._block_size = kwargs.pop("block_size", 4*1024*1024)
initial_request_start = self._start_range if self._start_range is not None else 0
if self._end_range is not None and self._end_range - self._start_range < self._block_size:
initial_request_end = self._end_range
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ class CallingServerEventType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum))

class ParallelDownloadOptions(object):
"""The options to configure parallel downloads.
:ivar max_concurrency: Max number of threads used to download.
:type max_concurrency: int
:ivar block_size: Block size to download on each request.
:type block_size: int
"""
def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from ._callingserver_client_async import CallingServerClient
from ._call_connection_async import CallConnection

from ._download_async import ContentStreamDownloader
__all__ = [
'CallingServerClient',
'CallConnection'
'CallConnection',
'ContentStreamDownloader'
]
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,9 @@ async def start_recording( # pylint: disable=too-many-arguments
call_locator: CallLocator,
recording_state_callback_uri: str,
*,
recording_content_type: Optional[RecordingContentType] = None,
recording_channel_type: Optional[RecordingChannelType] = None,
recording_format_type: Optional[RecordingFormatType] = None,
content_type: Optional[RecordingContentType] = None,
channel_type: Optional[RecordingChannelType] = None,
format_type: Optional[RecordingFormatType] = None,
**kwargs: Any
) -> StartCallRecordingResult:
"""Start recording the call.
Expand Down Expand Up @@ -705,9 +705,9 @@ async def start_recording( # pylint: disable=too-many-arguments
start_call_recording_request = StartCallRecordingWithCallLocatorRequest(
call_locator=serialize_call_locator(call_locator),
recording_state_callback_uri=recording_state_callback_uri,
recording_content_type=recording_content_type,
recording_channel_type=recording_channel_type,
recording_format_type=recording_format_type,
recording_content_type=content_type,
recording_channel_type=channel_type,
recording_format_type=format_type,
**kwargs
)

Expand All @@ -721,16 +721,14 @@ async def pause_recording(
self,
recording_id: str,
**kwargs: Any
) -> HttpResponse:
) -> None:
"""Pause recording the call.
:param recording_id: Required. The recording id.
:type recording_id: str
:return: The response of the operation.
:rtype: ~azure.core.rest.HttpResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""

return await self._server_call_client.pause_recording(
recording_id=recording_id,
**kwargs
Expand All @@ -741,13 +739,11 @@ async def resume_recording(
self,
recording_id: str,
**kwargs: Any
) -> HttpResponse:
) -> None:
"""Resume recording the call.
:param recording_id: Required. The recording id.
:type recording_id: str
:return: The response of the operation.
:rtype: ~azure.core.rest.HttpResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""
Expand All @@ -761,13 +757,11 @@ async def stop_recording(
self,
recording_id: str,
**kwargs: Any
) -> HttpResponse:
) -> None:
"""Stop recording the call.
:param recording_id: Required. The recording id.
:type recording_id: str
:return: The response of the operation.
:rtype: ~azure.core.rest.HttpResponse
:raises: ~azure.core.exceptions.HttpResponseError
"""
Expand All @@ -777,7 +771,7 @@ async def stop_recording(
)

@distributed_trace_async()
async def get_recording_properities(
async def get_recording_properties(
self,
recording_id: str,
**kwargs: Any
Expand All @@ -800,9 +794,11 @@ async def get_recording_properities(
async def download(
self,
content_url: str,
start_range: int = None,
end_range: int = None,
parallel_download_options: ParallelDownloadOptions = None,
*,
start_range: Optional[int] = None,
end_range: Optional[int] = None,
max_concurrency: Optional[int] = 1,
block_size: Optional[int] = 4*1024*1024,
**kwargs: Any
) -> ContentStreamDownloader:
"""Download using content url.
Expand All @@ -828,12 +824,13 @@ async def download(
self._callingserver_service_client._deserialize
)
stream_downloader = ContentStreamDownloader(
content_url,
content_downloader,
self._callingserver_service_client._config,
start_range,
end_range,
endpoint=content_url,
parallel_download_options=parallel_download_options,
start_range=start_range,
end_range=end_range,
max_concurrency=max_concurrency,
block_size=block_size,
**kwargs
)
await stream_downloader._setup()
Expand All @@ -845,7 +842,7 @@ async def delete_recording(
content_delete_url: str,
**kwargs: Any

): # type: (...) -> HttpResponse
) -> None:
"""Delete recording.
:param content_delete_url: Required. The content delete url.
Expand All @@ -861,9 +858,9 @@ async def delete_recording(

uri_to_sign_with = CallingServerUtils.get_url_to_sign_request_with(self._endpoint, content_delete_url)

query_parameters = {} # type: Dict[str, Any]
query_parameters = {}
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters = {}
header_parameters['UriToSignWith'] = self._callingserver_service_client._serialize.header(
name="uri_to_sign_with",
data=uri_to_sign_with,
Expand All @@ -881,8 +878,6 @@ async def delete_recording(
response=response, error_map=error_map)
raise HttpResponseError(response=response)

return response

async def close(self) -> None:
"""Close the :class:
`~azure.communication.callingserver.aio.CallingServerClient` session.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,14 @@ class ContentStreamDownloader(): # pylint: disable=too-many-instance-attributes
"""
def __init__(
self,
clients=None,
config=None,
endpoint,
clients,
config,
*,
start_range=None,
end_range=None,
endpoint=None,
parallel_download_options=None,
max_concurrency=1,
block_size=4*1024*1024,
**kwargs
):
self.endpoint = endpoint
Expand All @@ -141,14 +143,14 @@ def __init__(
self._config = config
self._start_range = start_range
self._end_range = end_range
self._max_concurrency = parallel_download_options.max_concurrency if parallel_download_options else 1
self._max_concurrency = max_concurrency
self._request_options = kwargs
self._download_complete = False
self._current_content = None
self._file_size = None
self._non_empty_ranges = None
self._response = None
self._block_size = parallel_download_options.block_size if parallel_download_options else 4*1024*1024
self._block_size = block_size
initial_request_start = self._start_range if self._start_range is not None else 0
if self._end_range is not None and self._end_range - self._start_range < self._block_size:
initial_request_end = self._end_range
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
-e ../../../tools/vcrpy
../../nspkg/azure-communication-nspkg
../../core/azure-core
cchardet
aiohttp>=3.0; python_version >= '3.5'
parameterized
validators
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ interactions:
cache-control:
- no-cache, max-age=0, s-maxage=0, private
content-length:
- '1077'
- '1078'
content-range:
- bytes 0-1076/1077
- bytes 0-1077/1078
content-type:
- application/octet-stream
date:
Expand Down
Loading

0 comments on commit f081515

Please sign in to comment.