Scott Hood
03/28/2022, 3:10 PMjamie
03/28/2022, 3:16 PMScott Hood
03/28/2022, 3:25 PMRunRequest
or something like that from within the job itself.
One of the issues with using the sensor is you lose the flow visualization of "This job calls x job to do work". If this was a popular job called by many parties I could see this as being not super easy to troubleshoot, having to track down which run was related to your job.jamie
03/28/2022, 3:28 PMScott Hood
03/28/2022, 3:38 PMScott Hood
03/28/2022, 3:51 PMjamie
03/28/2022, 4:23 PMgraphA
)
@graph
def graphA():
op1()
op2()
...
@graph
def graphB():
op3()
op4()
...
@graph
def graphC():
op5()
op6()
...
@job
def job1():
graphA()
graphB()
@job
def job2():
graphC()
graphB()
job3 = graphA.to_job(...)
Scott Hood
03/28/2022, 4:32 PMjamie
03/28/2022, 4:35 PMScott Hood
03/28/2022, 4:37 PM