Rob Fowler
03/31/2021, 3:17 AMJim Crist-Harif
03/31/2021, 5:13 AMprefect build
and prefect register
CLIs. Build will build your flow(s) (building any images, pushing source to S3, etc...) and write the output to a JSON file. This file can later be used with prefect register
with the --json
flag to register the flows in a project (or multiple projects) without requiring access to the flow source itself.Rob Fowler
04/01/2021, 3:51 AMRob Fowler
04/01/2021, 3:51 AMRob Fowler
04/01/2021, 3:52 AMRob Fowler
04/01/2021, 3:53 AMRob Fowler
04/01/2021, 3:54 AMRob Fowler
04/01/2021, 3:56 AMRob Fowler
04/01/2021, 5:29 AMRob Fowler
04/01/2021, 5:29 AMRob Fowler
04/01/2021, 6:51 AMRob Fowler
04/01/2021, 8:22 AMRob Fowler
04/01/2021, 11:35 AMimport sys, os
sys.path.append(os.path.abspath(os.getcwd()))
in my flow to get the code that is used to build the lists of files and requirements in my custom docker storage as the prefect.context wrapped python 'exec' does not have globals passed.
I do appreciate the loading_flow so I know I am loading and not running.Jim Crist-Harif
04/01/2021, 1:56 PMin my flow to get the code that is used to build the lists of files and requirements in my custom docker storage as the prefect.context wrapped python 'exec' does not have globals passed.Ah, nice catch, can fix.
Jim Crist-Harif
04/01/2021, 1:57 PMJim Crist-Harif
04/01/2021, 3:38 PMRob Fowler
04/03/2021, 10:30 PM