class documentation
class ScheduleCalendarSpec: (source)
Constructor: ScheduleCalendarSpec._from_proto(spec)
Specification relative to calendar time when to run an action.
A timestamp matches if at least one range of each field matches except for year. If year is missing, that means all years match. For all fields besides year, at least one range must be present to match anything.
Class Variable | comment |
Description of this schedule. |
Class Variable | day |
Day of month range to match, 1-31. Default matches all days. |
Class Variable | day |
Day of week range to match, 0-6, 0 is Sunday. Default matches all days. |
Class Variable | hour |
Hour range to match, 0-23. Default matches 0. |
Class Variable | minute |
Minute range to match, 0-59. Default matches 0. |
Class Variable | month |
Month range to match, 1-12. Default matches all months. |
Class Variable | second |
Second range to match, 0-59. Default matches 0. |
Class Variable | year |
Optional year range to match. Default of empty matches all years. |
Static Method | _from |
Undocumented |
Method | _to |
Undocumented |
@staticmethod
def _from_proto(spec:
def _from_proto(spec:
temporalio.api.schedule.v1.StructuredCalendarSpec
) -> ScheduleCalendarSpec
:
(source)
¶
Undocumented