-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[AutoRelease] t2-computeschedule-2025-07-17-86232(can only be merged by SDK owner) #42072
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
base: main
Are you sure you want to change the base?
[AutoRelease] t2-computeschedule-2025-07-17-86232(can only be merged by SDK owner) #42072
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
Automated release update for the Azure Compute Schedule management SDK with the following key changes:
- Updated the TypeSpec commit hash, API version, and emitter version for the 1.2.0b1 release.
- Introduced
RecurringActionsResourceOperationResult
in place of the oldResourceOperationResponse
across sync and async operations. - Renamed the internal enum
ActionType
toScheduledActionType
and cleaned up related imports and mappings.
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
tsp-location.yaml | Bumped TypeSpec commit hash. |
_version.py & _metadata.json | Updated package version, API version, and emitter version. |
*/_operations.py | Changed return types from ResourceOperationResponse to RecurringActionsResourceOperationResult . |
models/_models.py & models/_enums.py | Added new model and enum, removed old ResourceOperationResponse and ActionType . |
models/init.py & apiview-properties.json | Updated imports and API view mappings for enum changes. |
CHANGELOG.md | Added entries for 1.2.0b1 features. |
Comments suppressed due to low confidence (5)
sdk/computeschedule/azure-mgmt-computeschedule/azure/mgmt/computeschedule/models/init.py:79
- The
ActionType
enum was removed and replaced withScheduledActionType
. Please remove its import and any references in__all__
to avoid import errors.
ActionType,
sdk/computeschedule/azure-mgmt-computeschedule/apiview-properties.json:64
- The API view mapping references
azure.mgmt.computeschedule.models.ActionType
, which no longer exists. Update or remove this entry to point toScheduledActionType
.
"azure.mgmt.computeschedule.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
sdk/computeschedule/azure-mgmt-computeschedule/azure/mgmt/computeschedule/_version.py:9
- The version was changed from
2.0.0b1
to1.2.0b1
, which appears to be a down-versioning. Please confirm that this is the intended release version.
VERSION = "1.2.0b1"
sdk/computeschedule/azure-mgmt-computeschedule/CHANGELOG.md:3
- The removal of
ResourceOperationResponse
is a breaking change; consider adding a note in the changelog under breaking changes to help users migrate.
## 1.2.0b1 (2025-07-17)
sdk/computeschedule/azure-mgmt-computeschedule/azure/mgmt/computeschedule/models/_models.py:1386
- Consider adding unit tests for serialization and deserialization of
RecurringActionsResourceOperationResult
to ensure the new model is adequately covered.
class RecurringActionsResourceOperationResult(_Model):
sdk/computeschedule/azure-mgmt-computeschedule/azure/mgmt/computeschedule/models/_models.py
Show resolved
Hide resolved
Hi @NneOkeke, feel free to merged and release this pr now. |
Hello @ChenxiJiang333 , I saw this PR created as an update for the update endpoint in the typespec docs, will this affect the Python SDK as well, since the update endpoint is being changed |
got it, would regenerate the sdk after the pr merged |
@ChenxiJiang333 Let us commit the regenerate change to this PR so that @NneOkeke could still merge this PR with convenience. |
got it |
https://github.com/Azure/sdk-release-request/issues/6412
Recording test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=7193
generation pipeline result https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5099533&view=results