Nadav Nuni
09/12/2021, 2:32 PMZach Angell
from prefect import task, Flow
# this will fail because the file is
# not available when the flow is loaded from storage
with open('my_config.toml', 'r') as f:
my_config = f.read()
# ... meaningless boilerplate flow code
@task
def foo():
return my_config
with Flow('foo') as flow:
foo()
Zach Angell
Nadav Nuni
09/13/2021, 8:22 AMKubernetesRun.template_path
or storage.GitHub.path
?
I’ll try to change the logging level and get more cluesZach Angell
Zach Angell
flow_path
is specified? This actually could also cause issues https://prefect-community.slack.com/archives/CL09KU1K7/p1631548699136700?thread_ts=1631166492.384100&cid=CL09KU1K7Nadav Nuni
09/14/2021, 8:08 AM