Browse Source

Fix issue with unused literals

Behavior should now match the master branch with regard to undeclared
inputs. Undeclared inputs that are socket connections will be used while
undeclared inputs that are literals will be ignored.
pull/2666/head
Jacob Segal 9 months ago
parent
commit
e60dbe3a44
  1. 2
      execution.py

2
execution.py

@ -94,7 +94,7 @@ def get_input_data(inputs, class_def, unique_id, outputs=None, prompt={}, dynpro
continue continue
obj = cached_output[output_index] obj = cached_output[output_index]
input_data_all[x] = obj input_data_all[x] = obj
else: elif input_category is not None:
input_data_all[x] = [input_data] input_data_all[x] = [input_data]
if "hidden" in valid_inputs: if "hidden" in valid_inputs:

Loading…
Cancel
Save