mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-24 00:16:58 +08:00
Merge 09fc080ed1df48baf9c85c862a4f7f80dfdba902 into ec454c771b8c2007fbf08602a3205bacd96272a6
This commit is contained in:
commit
997d9af7c4
@ -411,10 +411,8 @@ class PromptServer():
|
||||
|
||||
@routes.get("/object_info")
|
||||
async def get_object_info(request):
|
||||
out = {}
|
||||
for x in nodes.NODE_CLASS_MAPPINGS:
|
||||
out[x] = node_info(x)
|
||||
return web.json_response(out)
|
||||
node_info_dict = {node_name: node_info(node_name) for node_name in nodes.NODE_CLASS_MAPPINGS}
|
||||
return web.json_response(node_info_dict)
|
||||
|
||||
@routes.get("/object_info/{node_class}")
|
||||
async def get_object_info_node(request):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user