@@ -65,7 +65,7 @@ def __init__(self, step: "WorkflowStep") -> None:
65
65
def job (
66
66
self ,
67
67
joborder : CWLObjectType ,
68
- output_callback : Optional [ OutputCallbackType ] ,
68
+ output_callback : OutputCallbackType ,
69
69
runtimeContext : RuntimeContext ,
70
70
) -> JobsGeneratorType :
71
71
runtimeContext = runtimeContext .copy ()
@@ -584,7 +584,7 @@ def receive_output(
584
584
def try_make_job (
585
585
self ,
586
586
step : WorkflowJobStep ,
587
- final_output_callback : Optional [ OutputCallbackType ] ,
587
+ final_output_callback : OutputCallbackType ,
588
588
runtimeContext : RuntimeContext ,
589
589
) -> JobsGeneratorType :
590
590
container_engine = "docker"
@@ -773,7 +773,7 @@ def run(
773
773
def job (
774
774
self ,
775
775
joborder : CWLObjectType ,
776
- output_callback : Optional [ OutputCallbackType ] ,
776
+ output_callback : OutputCallbackType ,
777
777
runtimeContext : RuntimeContext ,
778
778
) -> JobsGeneratorType :
779
779
self .state = {}
@@ -848,7 +848,7 @@ def job(
848
848
else :
849
849
yield None
850
850
851
- if not self .did_callback and output_callback :
851
+ if not self .did_callback :
852
852
# could have called earlier on line 336;
853
853
self .do_output_callback (output_callback )
854
854
# depends which one comes first. All steps are completed
0 commit comments