зеркало из
1
0
Форкнуть 0
Граф коммитов

17286 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot f92b18dbe7
Convert live test clean-up to use WIF for open source api access (#35676)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-05-16 16:43:08 -07:00
Driele Neves Ribeiro d7c196f0a0
DevCenter DataPlane v2023-04-01 stable SDK from TypeSpec (#35257)
* Generate with models

* Updates after arch board meetting. Missing enum rename.

* regen after merge main

* regen after tsp updates

* Add script for custom tsp update

* Update tsp commit in main and regen

* Update tests to use model

* Break down tests

* Add samples

* Add snippets and update readme

* clean up imports

* Update changelog

* Update version

* Fix samples

* Fix formatting

* Regen after merge main

* update latest tsp commit

* Push recordings to assets repo and update tag reference

* Add words to be ignored by cspell

* Revert removal of skip_quote

* Re-record failing tests and fix create dev box test

* fix vcpus cspell file path

* Regen latest main

* Revert removal of skip_quote

* Regen using latest tsp

* temp fix api version

* Fix readme section reference

* Revert "temp fix api version"

This reverts commit fcc70bd766.

* Regen latest main

* Rename to Operation Status

* Use the lro model in test assertion

* Update changelong

* Update readme and code snippets

* Rename samples

* add async tests and update recordings

* add aync samples

* fix issue in async samples

* Update tests recordings

* Update tests and re-record tests

* patch waiting in playback mode

---------

Co-authored-by: Lei Tian <leti@microsoft.com>
2024-05-16 15:06:38 -07:00
Azure SDK Bot 8a68f71144
Increment package version after release of azure-monitor-opentelemetry (#35640) 2024-05-16 13:55:53 -07:00
Azure SDK Bot 97c24bbf39
Increment package version after release of azure-eventhub (#35669) 2024-05-16 13:55:16 -07:00
Wes Haggard 4fe09e4fed
Add owners for linting pipeline (#35520) 2024-05-16 13:53:50 -07:00
Azure SDK Bot 9001134d16
Sync eng/common directory with azure-sdk-tools for PR 8267 (#35660)
* CODEOWNERS linter yml updates

* commit to add a space

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-05-16 11:56:48 -07:00
Scott Addie d86c42fbd4
Add missing backtick in Identity README (#35665) 2024-05-16 18:01:41 +00:00
Azure SDK Bot 5ef5c841c1
Sync eng/common directory with azure-sdk-tools for PR 8216 (#35639)
* Make create apireview runnable from non default working directory
2024-05-16 13:42:51 -04:00
runhli 4347f93989
update error message for dump_to_yaml_file (#35604)
* update error message

* update message
2024-05-16 10:40:13 -07:00
Scott Addie 936a32968f
Link to AzurePipelinesCredential API ref page (#35664) 2024-05-16 16:57:45 +00:00
Amit Chauhan 42115467a7
fixing sweep job service response parsing issue (#35614)
* fixing sweep job service response parsing issue

* fixing sweep job service response parsing issue
2024-05-16 12:36:32 -04:00
Azure SDK Bot a77e30580c
Increment package version after release of azure-cosmos (#35656) 2024-05-15 22:05:04 -07:00
Simon Moreno 94b097eb60
[Cosmos] update versions after release (#35653)
* versions

* Update CHANGELOG.md

* Update CHANGELOG.md
2024-05-15 18:56:44 -07:00
zihyunting a87b4c0c50
Generate and implement Face SDK via TypeSpec (#35384)
* CodeGen from PR 27576 in Azure/azure-rest-api-specs
Merge 482ba279cb21fbf7f4e6bbd4ad14b6c14aa979d7 into b8af2fc3af08e42d2df6f48d1c84070ef1f6589b

* Fix SDK error

* SDK Customization

* test-resources.json

* Samples

* Testcases

* Add SDK README.md

* Rename the folder from samples/_shared to samples/shared

* Update the detection interface

* Correct the comments in sample codes

* Update the README.md

* Update the interface of detect_from_url()

* Removed TODO tag

* Update README.md

* Correct the path of the model object

* Refine liveness samples

* Reorganize samples and tests folder

  - Only use images under samples/images for test.
  - Move all async samples under samples folder to address relative
  import failure
  - Delete the folder 'tests/images'
  - Add two utility methods in helpers class.

* Add assets.json

* Update CHANGELOG and README

* Fix errors reported by CI pipeline

* Fix typo

* Fix tests error

* Update CHANGELOG and README

* Update customized operations

* Update tests to fix test errors

* Not support live tests for this preview release

* Use `black` to reformat all samples and tests

* Remove all ignore flag from samples

* Add pyproject.toml

* Regenerated code

* update patches

* fix samples

* Update CHANGELOG

* Regenerate SDK based on the latest TypeSpec

* Update customized method to address the TypeSpec changes

* Update customized Enum classes definition and remove ignore flags from samples

* Update README.md

* Fix pylint error

* Use the new name of AAD: 'Microsoft Entra ID'

* Change the order of overload functions of

* Re-format the code snippet in README.md

---------

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
2024-05-15 18:45:58 -07:00
Lazar c9fa6e6e52
Enable ci for azure-maps geolocation, search, render and route packages (#35634) 2024-05-16 07:24:46 +08:00
Scott Beddall 51f68c34e6
fix conda build (#35648) 2024-05-15 22:47:20 +00:00
iscai-msft 627d2cfe8c
update python emitter (#35649) 2024-05-15 17:47:37 -04:00
Libba Lawrence a36e39a890
bump version (#35647) 2024-05-15 14:45:03 -07:00
Azure SDK Bot dbca7107c1
Sync eng/common directory with azure-sdk-tools for PR 8249 (#35585)
* Add support for Federated Auth to test resources scripts

* Default -- UseFederatedAuth: false

* Clear secrets if FederatedAuth is set

* Template conditions use AzurePowerShell only when a service connection is needed

* Review feedback and pair with Ben

* Update docs

* http:// -> https://

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-05-15 14:25:29 -07:00
Simon Moreno 671a0a4c57
[Cosmos] Adds support for non streaming ORDER BY (#35468)
* sync changes and sample for vector search control plane

* Update index_management.py

* Update index_management.py

* async and samples

* sync and async tests

* Update CHANGELOG.md

* developed typehints

* skip tests

* create_if_not_exists, README

* Update README.md

* add provisional, add dimension limit

* adds sync changes, adds changelog

* async changes

* some comments addressed

* Update CHANGELOG.md

* bug fix on ordering

* ordering bug fix

* fix datetime

* samples added

* small fixes

* fix some additional PQ logic

* last bit of pq fixes

* Update non_streaming_order_by_aggregator.py

* memory optimization

* Update sdk/cosmos/azure-cosmos/azure/cosmos/_execution_context/aio/document_producer.py

Co-authored-by: Anna Tisch <antisch@microsoft.com>

* addressing comments

* test name fix, improve readme/ samples

* add sync tests, improve readme

* async tests

* pylint

* remove print

* pylint

* adds env variable

* adds JS tests

* error logic improvements

* readme updates

* more fixes to logic

* oops

* memory optimization

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

Co-authored-by: Fabian Meiswinkel <fabian@meiswinkel.com>

* update variable for naming conventions

* remove/ comment out diskANN

* offset + limit fix, tests fixes

* add capabilities env var flag

* use feature flag for existing query tests

* disable emulator for query tests

* missed some tests

* Update test_aggregate.py

* Update test-resources.bicep

* forgot tests were being skipped

* Update sdk/cosmos/azure-cosmos/test/test_vector_policy.py

* Update sdk/cosmos/azure-cosmos/test/test_vector_policy_async.py

* test fixes

* Update README.md

* create separate db for vectors

* tests

* tests

* more tests

* small bit

* final fixes hopefully

* raise time limit on test so it doesnt fail

* Update test_query_vector_similarity_async.py

* add date for release prep

* Update CHANGELOG.md

---------

Co-authored-by: Anna Tisch <antisch@microsoft.com>
Co-authored-by: Fabian Meiswinkel <fabian@meiswinkel.com>
Co-authored-by: Kevin Pilch <me@pilchie.com>
2024-05-15 14:23:12 -07:00
Libba Lawrence c68e336327
[EH] Emulator prep for release (#35623)
* remove check

* update conn tests

* no longer validate localhost

* import err

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

* Update sdk/eventhub/azure-eventhub/CHANGELOG.md
2024-05-15 13:27:47 -07:00
bambriz 1203cfeb36
Revert "Consolidate Container Properties cache in Client Instance (#35293)" (#35642)
This reverts commit 35f9733b1d.
2024-05-15 19:26:51 +00:00
Lazar c60d542b74
Update CHANGELOG.md files for all packages that are ready for the release (#35616)
* Update CHANGELOG.md files for all packages that are ready for the release

* Bump minimum python version to 3.8

* Bump azure-maps-render version
2024-05-15 20:54:25 +08:00
Azure SDK Bot ac47fa8cf5
Added variable to skip spec location chk (#35630)
Co-authored-by: raychen <raychen@microsoft.com>
2024-05-15 14:45:45 +08:00
Scott Addie 76ebfd973f
Change prereq version of Python in README (#35624) 2024-05-14 15:33:37 -07:00
Laurent Mazuel 9cd3267784
Move azure-core to 3.8+ (#35622) 2024-05-14 15:31:49 -07:00
Jeremy Voss a517bad4b0
Distro release 1.4.2 (#35619) 2024-05-14 15:24:46 -07:00
Jeremy Voss 2ef297b9b4
Add diagnostics for sdk detection (#35610)
* Add diagnostics for sdk detection

* changelog
2024-05-14 14:35:56 -07:00
Billy Hu df408e841c
[ML] Bump azure-ai-ml to 1.17.0 (#35527) 2024-05-14 15:44:59 -04:00
Michael Zappe 77ad70e880
Fix linting issues in the Azure Remote Rendering SDK (#35517)
* Fix a lot of linting issues

* Fix mypy issues

* Remove type from kwargs

* Remove any added kwargs: Any instance

---------

Co-authored-by: Michael Zappe <michaelzappe@microsoft.com>
2024-05-14 15:33:24 +02:00
Paul Van Eck 1c726a9b56
[Docs] Add info about test proxy sanitizer opt-out (#35579)
Added some documentation updates regarding test proxy sanitization.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
2024-05-13 17:38:54 -07:00
Azure SDK Bot ace79268a3
Increment package version after release of azure-identity (#35609) 2024-05-13 15:37:15 -07:00
Paul Van Eck 454d84a37e
[Identity] Prep preview release (#35603)
Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
2024-05-13 14:03:10 -07:00
Paul Van Eck f501bee973
[Monitor Distro] Update fastapi dev dependency (#35580) 2024-05-13 11:07:44 -07:00
Lazar bf080667f4
32851: Fix mypy errors for azure-maps-render (#34987)
* 32851: Fix mypy errors for azure-maps-render

* 32851: Enable type check for azure-maps-render

* 32851: Revert changes for eventgrid

* Use os.getenv default value to avoid unset env vars

* 32851: Use generated model instead of the custom one

* Update sdk/maps/azure-maps-render/samples/async_samples/sample_authentication_async.py

* 32851: Update assets.json for each package to point to the latest recordings

* 32851: Fix pylint errors for azure-maps-search

* 32851: Revert changes in assets.json for each package

* 32851: Ignore mypy errors in azure-maps-search and azure-maps-route packages
2024-05-13 22:08:00 +08:00
Siyuan 542ec28738
Update Invalid Swagger URL (#35595) 2024-05-13 15:54:10 +08:00
Yalin Li 84bb4d78cd
[Tables] Add TableEntity encoder (#28172)
* WIP

* Merge encode keys test into basic key type test

* Merge basic and complex keys type into one

* Change type conversion test to live

* Convert tuple and raw entity tests to live

* Avoid edm type for int32, bool, string

* Convert typical values test to live

* Add identical encoder tests to cosmos

* Update comments in encoder tests

* Update encoder tests recordings

* Merged encoder tests

* Convert unit tests to live tests

* Introduce generic type in encoder

* Update sync APIs for the generic entity type support

* Expose default encoder type

* Address expected_entity in test_encoder.py

* Update tests and adjust encoder to fit more scenarios

* Fix issues when getting value from *args

* Update backward compatibility check in tests

* Remove prepare_key() call in default encode_entity()

* Make default encoder tests for "create" pass

* Update expected_entity for non-string key example

* Add expected_backcompat_entity for "create" tests

* Fix bug on encoding enum values

* Make all test_encoder_create_XXX pass after adjustments

* Remove custom encoder tests

* Make all upsert tests pass

* Make all update tests pass

* Make delete and get tests pass

* Make all cosmos sync tests pass

* Update encoding on tuples

* Update tests based on encoder updates

* Update assets.json

* Revert last updates in encoder for entity value in tuple type

* Update assets.json

* Update a cosmos test for intend changes from encoder

* Update error value to compare

* Not filtering out string "None" in new_encoding in _check_backcompat()

* Return detected edm type for enum values

* Add license header

* pop values from encoded result

* Update type hints

* Add async changes

* pop -> get

* Update assets.json

* Move tuple handle into prepare_value()

* Update two failing storage edmtype tests

* Run black

* Able to check_backcompat for non-string key case

* Fix mypy

* Address types

* Make tuple tests backward compatible

* Update tests and recordings

* Changed to get pk and rk from encoded entity in "delete"

* Update tests and recordings

* Fix pylint

* Remove throw error for unknown edm type in "_prepare_value_in_tuple"

* Fix IndexError in "delete"

* Support encoder in "batch"

* Add tests and recordings

* Make batch encoder tests live only

* Fix sphinx

---------

Co-authored-by: antisch <antisch@microsoft.com>
2024-05-13 16:47:20 +12:00
Yuchao Yan aa3a4b32e4
upgrade 0.23.10 (#35588)
* upgrade 0.23.10

* lock.json
2024-05-11 13:49:01 +08:00
bambriz 35f9733b1d
Consolidate Container Properties cache in Client Instance (#35293)
* Add client cache to hold container properties

This adds a client level cache for container properties.

* Added tests for container properties cache

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection_async.py

* Fix typos

* Update container.py

* Update _container.py

* Update cache test

* Update test_container_properties_cache.py

* update tests

* Update test_container_properties_cache.py

* Update tests

updated tests that were compensating for extra container reads, the extra reads no longer happen with adding the container cache properties in the client.

* tests updates

* Mypy fixes

* mypy fix

* Update

* Cache update

Fixed some reccomnded changes, and added optimizations for the cache. Only including needed properties info that will be unlikely to change.

* test update

* Update CHANGELOG.md

* added set_properties_cache method

Added a method in base.py to set the properties cache so we only have to change one location in case in the future we want to cache additional properties

* Update _base.py

* Update _cosmos_client_connection.py

* MyPy fixes

* Fix mypy issue

* Update _cosmos_client_connection.py

* Update _cosmos_client_connection.py

* Update _cosmos_client_connection_async.py

* Update _cosmos_client_connection.py

* Update container cache

Changed container cache to be a private attribute.
Also added tests to verify the contents of the cache to be correct ones.

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

Co-authored-by: Kushagra Thapar <kushuthapar@gmail.com>

* Additional pylint updates

* more pylint fixes

* pylint fix

* Update test_container_properties_cache.py

---------

Co-authored-by: Kushagra Thapar <kushuthapar@gmail.com>
2024-05-10 17:29:01 -07:00
Paul Van Eck d05603b56b
Update CODEOWNERS (#35587)
Adding self as azure-core codeowner
2024-05-10 16:45:04 -07:00
MilesHolland 0ee3610cf1
revert connection name (#35578)
* revert connection name

* rename files and schema class

* fake

* undo fake

* rename create field

* run black
2024-05-10 21:37:11 +00:00
Paul Van Eck 17daed136f
[Identity] Add AzurePipelinesCredential (#35397)
Add `AzurePipelinesCredential` to support workload identity federation in
Azure Pipelines with service connections.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2024-05-10 13:16:26 -07:00
Siyuan 78b00c5d2f
[WebPubSub] Update send methods signatures (#34855)
* update send methods signatures

* resolve comments

* update

* add `groups` parameter to async `get_client_access_token`

* update changelog and send* method comments
2024-05-10 17:01:05 +08:00
ChenxiJiang333 9104867115
[Resource] update testcases for resource mgmt clients (#35563)
* update-testcase

* remove deprecated testcases

* Update test_mgmt_resource_private_link.py
2024-05-10 15:06:14 +08:00
Azure SDK Bot 55af52fd67
[AutoRelease] t2-datafactory-2024-05-07-35865(can only be merged by SDK owner) (#35512)
* code and test

* Update CHANGELOG.md

* Update assets.json

* Update CHANGELOG.md

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
2024-05-10 09:37:28 +08:00
Nemanja e170ad4f1d
Add creation context to online deployment from rest (#35565) 2024-05-09 13:46:02 -07:00
McCoy Patiño 8c0e3cdcf0
[Key Vault] Generate Secrets code for 7.6-preview.1, add basic support (#35467)
* Regen on 8af9817

* Support new version; update metadata

* Update tests, recordings
2024-05-09 11:09:12 -07:00
McCoy Patiño e0f0a8c5f5
[Key Vault] Generate Keys code for 7.6-preview.1, add basic support (#35440)
* Regen on 8af9817

* Support new version; update metadata

* Update tests, recordings

* cspell
2024-05-09 11:08:49 -07:00
McCoy Patiño 598a36fa8a
[Key Vault] Generate Certs code for 7.6-preview.1, add basic support (#35453)
* Regen on 8af9817

* Support new version; update metadata

* Update tests, recordings
2024-05-09 11:08:23 -07:00
McCoy Patiño a5b1671b4d
[Key Vault] Generate Admin code for 7.6-preview.1, add basic support (#35425) 2024-05-09 11:07:58 -07:00