ComfyUI/tests-unit/comfy_api_test
Jedrzej Kosinski 22d467dc84
Some checks are pending
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
DynamicOutputs: replace FromInput with BySlot; outputs always declared in Schema.outputs
ByKey already covered literal-driven dispatch (Combo/DynamicCombo/String);
add BySlot as the symmetric resolved-type-driven form (mirrors DynamicSlot).

Inputs no longer carry output declarations. DynamicCombo.Option / DynamicSlot.Option
go back to {key|when, inputs} only — outputs always live on the corresponding
DynamicOutputs entry in Schema.outputs. Validation enforces that ByKey option keys
align with the referenced DynamicCombo's keys and BySlot option 'when' types are a
subset of the referenced DynamicSlot's accepted types (including when=None).

Removes FromInput/_select_from_input_outputs/_from_input_as_dict and the
option-level output serialization helpers.

Amp-Thread-ID: https://ampcode.com/threads/T-019e8568-f382-743d-a97f-0de3ff29d501
Co-authored-by: Amp <amp@ampcode.com>
2026-06-01 22:39:16 -07:00
..
input_impl_test.py Support saving Comfy VIDEO type to buffer (#7939) 2025-05-04 23:26:57 -04:00
multicombo_serialization_test.py fix(api-io): serialize MultiCombo multi_select as object config (#13484) 2026-05-05 13:58:32 -07:00
test_dynamic_outputs.py DynamicOutputs: replace FromInput with BySlot; outputs always declared in Schema.outputs 2026-06-01 22:39:16 -07:00
test_dynamic_slot.py DynamicSlot: support required slots and always forceInput 2026-06-01 19:28:15 -07:00
video_types_test.py Add get_duration method to Comfy VIDEO type (#8122) 2025-05-15 00:11:41 -04:00