Jacob Bedard
03/02/2023, 12:56 AMRyan Peden
03/02/2023, 1:03 AMJacob Bedard
03/02/2023, 1:03 AMRyan Peden
03/02/2023, 1:15 AMJacob Bedard
03/02/2023, 1:15 AMRyan Peden
03/02/2023, 1:22 AMpath: The path to the working directory for the workflow, relative to remote storage or, if stored on a local filesystem, an absolute path
entrypoint: The path to the entrypoint for the workflow, always relative to the `path`
Not your fault; it's in the docstring for the Deployment
class but not build_from_flow
, even though build_from_flow
forwards kwargs to Deployment
.
So what I think the deployment needs is:
...
path="/flows",
entrypoint="jacob_simplest_test_flow_ever.py:print_a_message_flow",
...
Jacob Bedard
03/02/2023, 1:23 AMRyan Peden
03/02/2023, 1:32 AMJacob Bedard
03/02/2023, 1:32 AMRyan Peden
03/02/2023, 1:45 AMJacob Bedard
03/02/2023, 1:45 AMRyan Peden
03/02/2023, 1:46 AMJacob Bedard
03/02/2023, 1:46 AMRyan Peden
03/02/2023, 1:47 AMJacob Bedard
03/02/2023, 1:48 AMRyan Peden
03/02/2023, 1:48 AMJacob Bedard
03/02/2023, 1:48 AMRyan Peden
03/02/2023, 1:52 AMprefect deployment build
command has a --output
flag that lets you specify an output path/file. You can use -o
as a shortcutJacob Bedard
03/02/2023, 1:52 AMRyan Peden
03/02/2023, 1:54 AM