TypeResolver: import internal _io so isinstance chain sees DynamicSlot

The public `comfy_api.latest.io` re-export does not include DynamicSlot,
so the isinstance chain in _effective_io_type raised AttributeError the
first time it ran against any V3 input that wasn't an Autogrow. End-to-end
test caught this with a MatchType chain feeding a probe node.

Amp-Thread-ID: https://ampcode.com/threads/T-019e8568-f382-743d-a97f-0de3ff29d501
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Jedrzej Kosinski
2026-06-01 17:08:50 -07:00
parent 004ac8820b
commit 0e4a15b7fb
2 changed files with 31 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ from __future__ import annotations
import logging
from typing import Any
from comfy_api.latest import io
from comfy_api.latest import _io as io
from comfy_api.internal import _ComfyNodeInternal