Deceivious
05/31/2023, 1:34 PMDeceivious
05/31/2023, 1:36 PMDeceivious
05/31/2023, 1:37 PMDeceivious
05/31/2023, 1:37 PMDeceivious
05/31/2023, 1:38 PMDeceivious
05/31/2023, 1:39 PMVictor Churikov
05/31/2023, 1:51 PMDeceivious
06/01/2023, 12:43 PMJenny
06/01/2023, 5:26 PMDeceivious
06/01/2023, 5:28 PMJenny
06/01/2023, 5:29 PMDeceivious
06/02/2023, 8:46 AMfrom prefect import flow
@flow
def sub_flow(param: str):
print(param)
@flow
def main_flow():
alphabets = ["a", "b", "c"]
for _a in alphabets:
sub_flow.with_options(name="flow_for_{_a}")(param=_a, return_state=True)
Jenny
06/02/2023, 1:51 PMDeceivious
06/02/2023, 1:54 PMJenny
06/02/2023, 6:55 PMJenny
06/05/2023, 2:19 PMDeceivious
06/05/2023, 2:21 PMJenny
06/05/2023, 2:26 PMDeceivious
06/05/2023, 2:26 PMDeceivious
07/11/2023, 8:38 PMJenny
07/12/2023, 3:14 PMDeceivious
07/12/2023, 3:16 PMDeceivious
07/12/2023, 3:18 PMDeceivious
07/12/2023, 3:19 PMJenny
07/12/2023, 3:20 PMDeceivious
07/12/2023, 3:20 PMDeceivious
07/12/2023, 3:20 PMDeceivious
08/03/2023, 1:02 PMraise UnfinishedRun(prefect.exceptions.UnfinishedRun: Run is in RUNNING state, its result is not available.
Task run in Running state. No pods attached.Deceivious
08/03/2023, 1:05 PMDeceivious
08/03/2023, 1:06 PMraise UnfinishedRun(prefect.exceptions.UnfinishedRun: Run is in RUNNING state, its result is not available.
Unsure how to replicate this. But Ive seen other users complaining about this as well.Deceivious
08/03/2023, 1:20 PMfrom prefect import flow
from prefect.deployments import Deployment
@flow
def sub_flow():
raise Exception("Error") #COMMENT THIS CODE LATER
return
@flow
def main_flow():
sub_flow()
if __name__ == "__main__":
Deployment.build_from_flow(name="name",flow=main_flow,apply=True)
1. Run the code.
2. Run the flow using the deployments page on an agent.
3. Comment this the line that has "#comment this code later" text
4. Retry main flow
There will be one main flow with 2 sub flow (1 failed and 1 passed).Jenny
08/03/2023, 7:20 PMDeceivious
08/03/2023, 7:28 PMscott
08/08/2023, 8:33 PMUnfinishedRun
?Deceivious
08/09/2023, 2:00 PMscott
08/09/2023, 4:38 PMDeceivious
08/09/2023, 4:39 PMscott
08/09/2023, 4:42 PMDeceivious
08/09/2023, 4:43 PM