Skip to content

Commit

Permalink
Fix typing of schedules argument in Flow.to_deployment (#14711)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbygrave authored Jul 23, 2024
1 parent c5f1970 commit b0231f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ def serve(
cron: Optional[Union[Iterable[str], str]] = None,
rrule: Optional[Union[Iterable[str], str]] = None,
paused: Optional[bool] = None,
schedules: Optional[List["FlexibleScheduleList"]] = None,
schedules: Optional["FlexibleScheduleList"] = None,
schedule: Optional[SCHEDULE_TYPES] = None,
is_schedule_active: Optional[bool] = None,
triggers: Optional[List[Union[DeploymentTriggerTypes, TriggerTypes]]] = None,
Expand Down

0 comments on commit b0231f1

Please sign in to comment.