Vackar Afzal
05/31/2022, 1:16 PMstorage.files.update(THE_FILE)
to bring in the dependency
What’s the recommended approach to achieve something similar in prefect 2Sander
05/31/2022, 1:20 PMSylvain Hazard
05/31/2022, 1:26 PMSander
05/31/2022, 1:51 PMJohn Mizerany
05/31/2022, 2:12 PMLucas Hosoya
05/31/2022, 2:15 PMRuntimeError: Missing dependency kubectl. Please install kubectl following the instructions for your OS.
Does anyone know about this error with K8s tolerations?Lucas Rodrigues
05/31/2022, 2:37 PMfrom prefect.client import Client
flow_id = "..."
client = Client()
client.graphql(
"""
mutation {
delete_flow(input: {flow_id: "%s"}) {
success
}
}
""" % flow_id
)
But how can I delete all versions of a given flow? It looks like the Flow Group ID is constant over the flow versions. I tried to replaced it into above snippet but didn't work.Marcin Grzybowski
05/31/2022, 2:51 PMPatrick Tan
05/31/2022, 3:04 PMAndreas Nigg
05/31/2022, 3:15 PMIan Mc Shane
05/31/2022, 3:15 PMraise signals.RETRY
signal but the task ends up going into a tight loop. I decorated the @Task
with max_retries
and retry_delay
but the retry is still repeating rapidly and without any delay.
`
Is the RETRY
signal controlled by the @Task
decorations max_retries
and retry_delay
?Marcin Grzybowski
05/31/2022, 4:25 PMDarin Douglass
05/31/2022, 6:00 PMShriram Holla
05/31/2022, 6:54 PMPatrick Tan
05/31/2022, 8:36 PMEthan Crook
05/31/2022, 8:47 PMFrank Hardisty
05/31/2022, 9:12 PMClickhouseODHourly
which is permanently stuck at 136 even when nothing is running.Jack Sundberg
06/01/2022, 12:13 AMimport prefect
from prefect import task, Flow
@task
def parse_task():
name = prefect.context.flow_name
return {"name": name, "test": 123}
@task
def split_kwargs_task(name, test):
print(name)
print(test)
# Does NOT work, but desired approach
with Flow("hello-flow") as flow:
parameters_cleaned = parse_task()
split_kwargs_task(**parameters_cleaned) # <-- raises error
# Manually pulling out each kwarg gets this to work
with Flow("hello-flow") as flow:
parameters_cleaned = parse_task()
split_kwargs_task(
name=parameters_cleaned["name"],
test=parameters_cleaned["test"],
)
flow.run()
Daniel Lomartra
06/01/2022, 12:53 AMPRASHANT GARG
06/01/2022, 6:04 AMNaga Sravika Bodapati
06/01/2022, 7:22 AMIan Mc Shane
06/01/2022, 7:29 AMAndreas Nord
06/01/2022, 7:34 AMDragan
06/01/2022, 8:09 AMOlivér Atanaszov
06/01/2022, 8:48 AMMathijs Carlu
06/01/2022, 9:04 AMFlorian Guily
06/01/2022, 9:25 AMVadym Dytyniak
06/01/2022, 10:11 AMyair friedman
06/01/2022, 11:33 AMMarcin Grzybowski
06/01/2022, 11:44 AMMarcin Grzybowski
06/01/2022, 11:44 AMAnna Geller
06/01/2022, 1:00 PMMarcin Grzybowski
06/01/2022, 1:06 PM