-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[AutoRelease] t2-search-2025-04-02-90559(can only be merged by SDK owner) #40332
[AutoRelease] t2-search-2025-04-02-90559(can only be merged by SDK owner) #40332
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces an upgrade functionality for the Azure AI Search service, including synchronous and asynchronous operations. Key changes include:
- Adding new test cases (both sync and async) for the begin_upgrade operation.
- Implementing build_upgrade_request, _upgrade_initial, and begin_upgrade in the core operations.
- Removing deprecated ServiceOperations import and updating sample code, README, and CHANGELOG accordingly.
Reviewed Changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
sdk/search/azure-mgmt-search/generated_tests/test_search_management_services_operations_async.py | Added async test for begin_upgrade |
sdk/search/azure-mgmt-search/generated_tests/test_search_management_services_operations.py | Added sync test for begin_upgrade |
sdk/search/azure-mgmt-search/generated_samples/upgrade_search_service_to_latest_version.py | Updated sample to use client.services.begin_upgrade |
sdk/search/azure-mgmt-search/azure/mgmt/search/operations/_services_operations.py | Added upgrade request and operation implementations |
sdk/search/azure-mgmt-search/azure/mgmt/search/operations/_service_operations.py | Removed deprecated ServiceOperations |
sdk/search/azure-mgmt-search/azure/mgmt/search/init.py | Updated init to remove ServiceOperations export |
sdk/search/azure-mgmt-search/azure/mgmt/search/aio/operations/_services_operations.py | Added async upgrade request and operation implementations |
sdk/search/azure-mgmt-search/azure/mgmt/search/aio/operations/_service_operations.py | Removed deprecated async ServiceOperations |
sdk/search/azure-mgmt-search/azure/mgmt/search/aio/operations/init.py | Updated init to remove ServiceOperations export |
sdk/search/azure-mgmt-search/azure/mgmt/search/aio/_search_management_client.py | Removed service attribute initialization |
sdk/search/azure-mgmt-search/azure/mgmt/search/_search_management_client.py | Removed service attribute initialization |
sdk/search/azure-mgmt-search/README.md | Corrected grammar in authentication section |
sdk/search/azure-mgmt-search/CHANGELOG.md | Documented new upgrade features and models |
Files not reviewed (1)
- sdk/search/azure-mgmt-search/_meta.json: Language not supported
Comments suppressed due to low confidence (2)
sdk/search/azure-mgmt-search/generated_tests/test_search_management_services_operations_async.py:255
- [nitpick] Consider using a more descriptive placeholder for search_service_name instead of the literal "str" to improve clarity in the test.
search_service_name="str",
sdk/search/azure-mgmt-search/generated_tests/test_search_management_services_operations.py:251
- [nitpick] Consider using a more descriptive placeholder for search_service_name instead of the literal "str" to improve clarity in the test.
search_service_name="str",
…ner) (Azure#40332) * code and test * Update changelog for 9.2.0b3 release date * update testcases --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
https://github.com/Azure/sdk-release-request/issues/5820
Recording test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1027
BuildTargetingString
azure-mgmt-search
Skip.CreateApiReview