gifted-house-14547
06/16/2022, 5:50 AMflytectl update launchplan -p flytesnacks -d development --version <version> <launchplan name> --archived
tall-lock-23197
gifted-house-14547
06/16/2022, 6:30 AMtall-lock-23197
tall-lock-23197
icy-agent-73298
06/16/2022, 6:38 AMgifted-house-14547
06/16/2022, 6:38 AMicy-agent-73298
06/16/2022, 6:39 AMgifted-house-14547
06/16/2022, 6:40 AMicy-agent-73298
06/16/2022, 6:46 AMgifted-house-14547
06/16/2022, 7:08 AMicy-agent-73298
06/16/2022, 7:08 AMgifted-house-14547
06/16/2022, 7:10 AMfrom datetime import timedelta
from flytekit import FixedRate, LaunchPlan
from flytekit.remote import FlyteRemote
from flytekit.configuration import Config
from kirin_sample import df
remote = FlyteRemote(config=Config.auto())
fixed_rate_lp = LaunchPlan.get_or_create(
name="test_1",
workflow=df,
# Note that the workflow above doesn't accept any kickoff time arguments.
# We just omit the ``kickoff_time_input_arg`` from the FixedRate schedule invocation
schedule=FixedRate(duration=timedelta(minutes=1)),
)
remote.register_launch_plan(
entity=fixed_rate_lp,
project="flytesnacks",
domain="development",
version="ZDltT5mj_lfCoYpVmAw8SQ==",
)
this is the code I use FixedRate methodicy-agent-73298
06/16/2022, 7:11 AM