Reorganize types a bit

The input types, input impls, and utility types are now all available in
the versioned API. See the change in `comfy_extras/nodes_video.py` for
an example of their usage.
This commit is contained in:
Jacob Segal
2025-07-25 14:00:47 -07:00
parent 4a461b6093
commit b45a110de6
19 changed files with 146 additions and 37 deletions

View File

@@ -1,2 +1,16 @@
# This file only exists for backwards compatibility.
from comfy_api.latest.input import * # noqa: F403
from comfy_api.latest._input import (
ImageInput,
AudioInput,
MaskInput,
LatentInput,
VideoInput,
)
__all__ = [
"ImageInput",
"AudioInput",
"MaskInput",
"LatentInput",
"VideoInput",
]

View File

@@ -1,2 +1,14 @@
# This file only exists for backwards compatibility.
from comfy_api.latest.input.basic_types import * # noqa: F403
from comfy_api.latest._input.basic_types import (
ImageInput,
AudioInput,
MaskInput,
LatentInput,
)
__all__ = [
"ImageInput",
"AudioInput",
"MaskInput",
"LatentInput",
]

View File

@@ -1,2 +1,6 @@
# This file only exists for backwards compatibility.
from comfy_api.latest.input.video_types import * # noqa: F403
from comfy_api.latest._input.video_types import VideoInput
__all__ = [
"VideoInput",
]