From 59381ecbd2d3f62fd386ef59e5a5d19ecc8276df Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Wed, 12 Nov 2025 23:24:39 -0800 Subject: [PATCH] Add get_dynamic function, not yet filled out correctly --- comfy_api/latest/_io.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/comfy_api/latest/_io.py b/comfy_api/latest/_io.py index 10b770ce5..57d40c3bb 100644 --- a/comfy_api/latest/_io.py +++ b/comfy_api/latest/_io.py @@ -890,6 +890,9 @@ class DynamicCombo(ComfyTypeI): super().__init__(id) self.options = options + def get_dynamic(self) -> list[Input]: + return [self] + def as_dict(self): return super().as_dict() | prune_dict({ "options": [o.as_dict() for o in self.options],