mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-20 03:13:30 +00:00
use literal type for image_folder field
This commit is contained in:
parent
252faf810a
commit
57be03b31f
@ -129,13 +129,8 @@ class InputTypeOptions(TypedDict):
|
||||
# class InputTypeCombo(InputTypeOptions):
|
||||
image_upload: bool
|
||||
"""Specifies whether the input should have an image upload button and image preview attached to it. Requires that the input's name is `image`."""
|
||||
image_folder: str
|
||||
image_folder: Literal["input", "output", "temp"]
|
||||
"""Specifies which folder to get preview images from if the input has the ``image_upload`` flag.
|
||||
|
||||
Valid values are:
|
||||
- "input"
|
||||
- "output"
|
||||
- "temp"
|
||||
"""
|
||||
remote: RemoteInputOptions
|
||||
"""Specifies the configuration for a remote input."""
|
||||
|
Loading…
Reference in New Issue
Block a user