flytekit.FixedRate#

class flytekit.FixedRate(duration, kickoff_time_input_arg=None)[source]#

Use this class to schedule a fixed-rate interval for a launch plan.

from datetime import timedelta

FixedRate(duration=timedelta(minutes=10))

See the Fixed Rate Intervals chapter in the cookbook for additional usage examples.

Parameters

Methods

classmethod from_flyte_idl(pb2_object)#
Parameters

pb2_object (flyteidl.admin.schedule_pb2.Schedule) –

Return type

Schedule

short_string()#
Return type

Text

to_flyte_idl()#
Return type

flyteidl.admin.schedule_pb2.Schedule

verbose_string()#
Return type

Text

Attributes

cron_expression#

Text

Type

rtype

cron_schedule#

Schedule.CronSchedule

Type

rtype

is_empty#
kickoff_time_input_arg#
rate#

Schedule.FixedRate

Type

rtype

schedule_expression#