mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-29 17:26:34 +00:00
Small refactor of V3TestNode
This commit is contained in:
parent
b52154f382
commit
6cf5db512a
@ -14,14 +14,12 @@ class XYZ:
|
||||
class Output(io.OutputV3):
|
||||
...
|
||||
|
||||
class MyState(io.NodeState):
|
||||
my_str: str
|
||||
my_int: int
|
||||
|
||||
|
||||
class V3TestNode(io.ComfyNodeV3):
|
||||
|
||||
state: MyState
|
||||
class State(io.NodeState):
|
||||
my_str: str
|
||||
my_int: int
|
||||
state: State
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
Loading…
x
Reference in New Issue
Block a user