airflow_pydantic.DeltaTriggerTimetable

pydantic model airflow_pydantic.DeltaTriggerTimetable[source]

Bases: BaseModel

Show JSON schema
{
   "title": "DeltaTriggerTimetable",
   "type": "object",
   "properties": {
      "delta": {
         "anyOf": [
            {
               "format": "duration",
               "type": "string"
            },
            {
               "properties": {
                  "years": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Years"
                  },
                  "months": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Months"
                  },
                  "days": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Days"
                  },
                  "hours": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Hours"
                  },
                  "minutes": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Minutes"
                  },
                  "seconds": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Seconds"
                  },
                  "microseconds": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Microseconds"
                  },
                  "year": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Year"
                  },
                  "month": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Month"
                  },
                  "day": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Day"
                  },
                  "hour": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Hour"
                  },
                  "minute": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Minute"
                  },
                  "second": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Second"
                  },
                  "microsecond": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Microsecond"
                  },
                  "weekday": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Weekday"
                  },
                  "leapdays": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Leapdays"
                  },
                  "yearday": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Yearday"
                  },
                  "nlyearday": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Nlyearday"
                  },
                  "weeks": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Weeks"
                  },
                  "dt1": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Dt1"
                  },
                  "dt2": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Dt2"
                  }
               },
               "required": [
                  "years",
                  "months",
                  "days",
                  "hours",
                  "minutes",
                  "seconds",
                  "microseconds",
                  "year",
                  "month",
                  "day",
                  "hour",
                  "minute",
                  "second",
                  "microsecond",
                  "weekday",
                  "leapdays",
                  "yearday",
                  "nlyearday",
                  "weeks",
                  "dt1",
                  "dt2"
               ],
               "type": "object"
            }
         ],
         "title": "Delta"
      },
      "interval": {
         "anyOf": [
            {
               "format": "duration",
               "type": "string"
            },
            {
               "properties": {
                  "years": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Years"
                  },
                  "months": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Months"
                  },
                  "days": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Days"
                  },
                  "hours": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Hours"
                  },
                  "minutes": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Minutes"
                  },
                  "seconds": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Seconds"
                  },
                  "microseconds": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Microseconds"
                  },
                  "year": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Year"
                  },
                  "month": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Month"
                  },
                  "day": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Day"
                  },
                  "hour": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Hour"
                  },
                  "minute": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Minute"
                  },
                  "second": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Second"
                  },
                  "microsecond": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Microsecond"
                  },
                  "weekday": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Weekday"
                  },
                  "leapdays": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Leapdays"
                  },
                  "yearday": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Yearday"
                  },
                  "nlyearday": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Nlyearday"
                  },
                  "weeks": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Weeks"
                  },
                  "dt1": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Dt1"
                  },
                  "dt2": {
                     "anyOf": [
                        {
                           "type": "integer"
                        },
                        {
                           "type": "null"
                        }
                     ],
                     "title": "Dt2"
                  }
               },
               "required": [
                  "years",
                  "months",
                  "days",
                  "hours",
                  "minutes",
                  "seconds",
                  "microseconds",
                  "year",
                  "month",
                  "day",
                  "hour",
                  "minute",
                  "second",
                  "microsecond",
                  "weekday",
                  "leapdays",
                  "yearday",
                  "nlyearday",
                  "weeks",
                  "dt1",
                  "dt2"
               ],
               "type": "object"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Interval"
      }
   },
   "required": [
      "delta"
   ]
}

Fields:
  • delta (datetime.timedelta | dateutil.relativedelta.relativedelta)

  • interval (datetime.timedelta | dateutil.relativedelta.relativedelta | None)

field delta: timedelta | Annotated[relativedelta, RelativeDeltaType] [Required]
field interval: timedelta | Annotated[relativedelta, RelativeDeltaType] | None = None
instance() DeltaTriggerTimetable[source]