Mehdi Nazari
08/05/2021, 6:08 PMKevin Kho
Mehdi Nazari
08/05/2021, 6:14 PMMehdi Nazari
08/05/2021, 6:14 PMKevin Kho
Mehdi Nazari
08/05/2021, 6:20 PMMehdi Nazari
08/05/2021, 6:21 PMKevin Kho
task.run()
so run the task alone without a Flow? And then do you see the logs there? Like the info one.Mehdi Nazari
08/05/2021, 6:23 PMMehdi Nazari
08/05/2021, 6:25 PMtask.run()
? command line?Kevin Kho
load_to_mssql.run()
. This will run the Python code underneathMehdi Nazari
08/05/2021, 6:33 PMtask.run()
executes successfully from my laptop! does that tell you something?Kevin Kho
flow.run()
and running the Flow are doing the same thing. 🤔Kevin Kho
flow.run()
or did you register and run with local agent?Mehdi Nazari
08/05/2021, 6:38 PMpython flow.py
that has a register command in there, also added the task.run()
before registering.
I’m assuming that run in locally on my machine with no agent involved?Kevin Kho
task.run()
, how did you run it?Mehdi Nazari
08/05/2021, 9:22 PMpython flow.py
ran it for me. and it was successful.Mehdi Nazari
08/06/2021, 3:59 PMtask.set_dependancies()
maybe?Kevin Kho
@task()
def abc(a):
return a
with Flow("ecs_testing") as flow:
x = abc(1)
y = abc(1, upstream_tasks=[x])
with Flow("ecs_tes") as flow2:
x = abc(1)
y = abc(1)
y.set_upstream(x)