Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
achauhan-scc authored and Rena Chen committed Feb 27, 2025
1 parent ff3e64d commit 6ddd3a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions sdk/ml/azure-ai-ml/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

### Bugs Fixed
- #37464 - Allowing to update a component in register with anonymousEnvironment environment.
- #39744 - Fixing a serialization issue in RecurrencePattern schedule.

## 1.25.0 (2025-02-11)

Expand Down
4 changes: 2 additions & 2 deletions sdk/ml/azure-ai-ml/azure/ai/ml/entities/_compute/_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from azure.ai.ml._restclient.v2022_10_01_preview.models import TriggerType
from azure.ai.ml.entities._mixins import RestTranslatableMixin

from .._schedule.trigger import CronTrigger, RecurrenceTrigger
from .._schedule.trigger import CronTrigger, RecurrencePattern, RecurrenceTrigger


class ComputeStartStopSchedule(RestTranslatableMixin):
Expand Down Expand Up @@ -104,7 +104,7 @@ def _from_rest_object(cls, obj: RestComputeStartStopSchedule) -> "ComputeStartSt
time_zone=obj.recurrence.time_zone,
frequency=obj.recurrence.frequency,
interval=obj.recurrence.interval,
schedule=obj.recurrence.schedule,
schedule=RecurrencePattern._from_rest_object(obj.recurrence.schedule),
)

return schedule
Expand Down

0 comments on commit 6ddd3a2

Please sign in to comment.