Skip to content

RecurrencePatternConfig

kedro_azureml_pipeline.config.RecurrencePatternConfig

Bases: BaseModel

Recurrence pattern mapping to azure.ai.ml.entities.RecurrencePattern.

Parameters

Name Type Description Default
hours list of int or None

Hours of the day to trigger.

required
minutes list of int or None

Minutes of the hour to trigger.

required
week_days list of str or None

Days of the week to trigger (e.g. ["Monday", "Friday"]).

required

Source Code

Show/Hide source
class RecurrencePatternConfig(BaseModel):
    """Recurrence pattern mapping to ``azure.ai.ml.entities.RecurrencePattern``.

    Parameters
    ----------
    hours : list of int or None
        Hours of the day to trigger.
    minutes : list of int or None
        Minutes of the hour to trigger.
    week_days : list of str or None
        Days of the week to trigger (e.g. ``["Monday", "Friday"]``).
    """

    model_config = ConfigDict(extra="forbid")

    hours: list[int] | None = Field(default=None, description="Hours of the day to trigger.")
    minutes: list[int] | None = Field(default=None, description="Minutes of the hour to trigger.")
    week_days: list[str] | None = Field(
        default=None, description="Days of the week to trigger (e.g. ['Monday', 'Friday'])."
    )