isApi python variable?
Open
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 155
Description
Hello, I'm wanting to create a custom switch node that; depending on if the network is processed via the comfuUI UI or the comfyUI api will swich between it's inputs.
I'm having trouble finding a reference to a python variable I could access to decern this state. Is anyone farmiliar with such a python variable within the comfyui code?
Contributor guide
Research direction
The issue names no file or test. Start by locating the Python paths handling UI and API processing, then check whether custom nodes receive that context; done means identifying an existing variable or documenting the missing capability.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100