mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-20 06:54:05 +00:00
Call extension.on_load() in load_custom_node function, arttempt at using the public interface's node_replacement (not working currently, pushing to share)
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, TypedDict
|
||||
from server import PromptServer
|
||||
|
||||
|
||||
def register(node_replace: NodeReplace):
|
||||
"""Register a node replacement mapping."""
|
||||
PromptServer.instance.node_replace_manager.register(node_replace)
|
||||
|
||||
|
||||
class InputMapOldId(TypedDict):
|
||||
|
||||
Reference in New Issue
Block a user