MCPcopy Create free account
hub / github.com/Kosinkadink/ComfyUI-Advanced-ControlNet / MachineState

Class MachineState

adv_control/control_reference.py:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54class MachineState:
55 WRITE = "write"
56 READ = "read"
57 READ_WRITE = "read_write"
58 STYLEALIGN = "stylealign"
59 OFF = "off"
60
61def is_read(state: str):
62 return state in [MachineState.READ, MachineState.READ_WRITE]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected