File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -798,8 +798,8 @@ def _reset(self):
798
798
799
799
800
800
def _sanitize_input_spec (
801
- input_spec : ty .Union [BaseSpec , ty .List [str ]],
802
- wf_name : str ,
801
+ input_spec : ty .Union [BaseSpec , ty .List [str ]],
802
+ wf_name : str ,
803
803
) -> BaseSpec :
804
804
"""Makes sure the provided input specifications are valid.
805
805
@@ -831,9 +831,7 @@ def _sanitize_input_spec(
831
831
return input_spec
832
832
elif isinstance (input_spec , SpecInfo ):
833
833
if not any ([x == BaseSpec for x in input_spec .bases ]):
834
- raise ValueError (
835
- "Provided SpecInfo must have BaseSpec as it's base."
836
- )
834
+ raise ValueError ("Provided SpecInfo must have BaseSpec as it's base." )
837
835
if "_graph_checksums" not in {f [0 ] for f in input_spec .fields }:
838
836
input_spec .fields .insert (0 , graph_checksum_input )
839
837
return input_spec
You can’t perform that action at this time.
0 commit comments