This repository was archived by the owner on Aug 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -438,6 +438,8 @@ async def gather_inputs(
438438 return
439439 # Gather all inputs with matching definitions and contexts
440440 for input_name , input_sources in input_flow .inputs .items ():
441+ # Create parameters for all the inputs
442+ gather [input_name ] = []
441443 for input_source in input_sources :
442444 # Create a list of places this input originates from
443445 origins = []
@@ -446,8 +448,6 @@ async def gather_inputs(
446448 origins .append (origin )
447449 else :
448450 origins .append (input_source )
449- # Create parameters for all the inputs
450- gather [input_name ] = []
451451 for origin in origins :
452452 # Don't try to grab inputs from an origin that
453453 # doesn't have any to give us
@@ -484,9 +484,9 @@ async def gather_inputs(
484484 ],
485485 )
486486 )
487- # Return if there is no data for an input
488- if not gather [input_name ]:
489- return
487+ # Return if there is no data for an input
488+ if not gather [input_name ]:
489+ return
490490 # Generate all possible permutations of applicable inputs
491491 for permutation in product (* list (gather .values ())):
492492 # Create the parameter set
You can’t perform that action at this time.
0 commit comments