https://prefect.io logo
Title
a

Aniruddha Bharadwaj

12/09/2022, 7:50 PM
Hi All, am trying to deploy a flow.. but instead of deploying the flow it is running it..am a little confused. could anyone help me? below is the statement:
prefect deployment build ./data_source_flows/master_flow.py:master_flow -n master_flow -q test --storage-block github/flows --apply
1
t

Taylor Curran

12/09/2022, 7:53 PM
Hi @Aniruddha Bharadwaj, in the file where you define your flow, make sure you are not calling the flow, if you are, make sure you call it under and
if ___name___ == "___main___":
block
:ring_buoy: 1
a

Aniruddha Bharadwaj

12/09/2022, 8:02 PM
i had overlooked it ..thank yu 🙂