https://prefect.io logo
Title
c

Chu

08/08/2022, 1:10 PM
Hi, a quick question for registering flow: within the same folder, we have
c_flow.py
which orchestrates
b_flow.py
and
a_flow.py
, when we register all three flows together under this folder, will Prefect know the order of register? (like need to register b_flow and a_flow first, and then register c_flow)
1
b

Bianca Hoch

08/08/2022, 3:08 PM
Hello, to my understanding if you want to register flows that are in the same folder using the cli command
Register all flows found in a directory.

      $ prefect register --project my-project -p myflows/
it registers all of them at once. If this is an issue, could you explain your use case a bit more?
c

Chu

08/08/2022, 3:34 PM
Even if there are some flows referencing some child flows under that folder, will that also be fine? I use Prefect 1
b

Bianca Hoch

08/08/2022, 3:36 PM
Yes, that should be fine
1
c

Chu

08/08/2022, 3:38 PM
@Mansour Zayer