Philip MacMenamin
05/21/2021, 5:49 PMprefect register flow --file flow.py --project proj_name
This works without issue, however the recommendation is to use the new format:
prefect register --project my-project -p myflows/
Philip MacMenamin
05/21/2021, 5:50 PMPhilip MacMenamin
05/21/2021, 5:56 PMprefect register flow --file $MODULE_LOC/the_flow/flow.py --project the_proj
Warning: `prefect register flow` is deprecated, please transition to using `prefect register` instead.
Flow URL: <http://localhost:8080/default/flow/eb320e0d-18ab-426f-9929-1b880cf1fadb>
└── ID: 4e9d85e9-39a0-4e72-a6fb-55941c12bac7
└── Project: the_proj
└── Labels: ['ip-172-20-3-23.ec2.internal']
(this works)Philip MacMenamin
05/21/2021, 5:59 PMprefect register --project the_proj -p the_flow/
Collecting flows...
Processing 'the_flow/flow.py':
Building `Local` storage...
Registering 'Flow_name'... Done
└── ID: f9cfe0ca-848d-44b5-a739-566a5c77b387
└── Version: 5
this doesn't, although it gives the impression it has.Kevin Kho
Kevin Kho
prefect register --project the_proj -p the_flow/
worked for me. What Prefect version are you on?Kevin Kho
Philip MacMenamin
05/22/2021, 10:39 AMPhilip MacMenamin
05/22/2021, 10:42 AMKevin Kho
ModuleNotFoundError
. May open an issue.Philip MacMenamin
05/24/2021, 3:22 PMKevin Kho
Kevin Kho
Marvin
05/24/2021, 3:36 PM