mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-11 08:10:06 +00:00
feat: add essentials_category field to node schema
Amp-Thread-ID: https://ampcode.com/threads/T-019c2b25-cd90-7218-9071-03cb46b351b3
This commit is contained in:
@@ -687,6 +687,10 @@ class PromptServer():
|
||||
info['api_node'] = obj_class.API_NODE
|
||||
|
||||
info['search_aliases'] = getattr(obj_class, 'SEARCH_ALIASES', [])
|
||||
|
||||
if hasattr(obj_class, 'ESSENTIALS_CATEGORY'):
|
||||
info['essentials_category'] = obj_class.ESSENTIALS_CATEGORY
|
||||
|
||||
return info
|
||||
|
||||
@routes.get("/object_info")
|
||||
|
||||
Reference in New Issue
Block a user