resolve_schedule¶
kedro_azureml_pipeline.scheduler.resolve_schedule(schedule_ref, named_schedules)
¶
Resolve a schedule reference to a ScheduleConfig.
If schedule_ref is already a ScheduleConfig it is returned
as-is. If it is a string, it is looked up in named_schedules.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
schedule_ref
|
ScheduleConfig or str
|
Inline config or a named schedule key. |
required |
named_schedules
|
dict of str to ScheduleConfig or None
|
Named schedules from the |
required |
Returns¶
| Type | Description |
|---|---|
ScheduleConfig
|
Resolved schedule configuration. |
Raises¶
| Type | Description |
|---|---|
KeyError
|
If schedule_ref is a string not found in named_schedules. |
See Also¶
ScheduleConfig : The resolved configuration type. build_trigger : Next step after resolving.