mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-06 03:22:33 +08:00
Propagate search_aliases through V3 Schema.get_v1_info to NodeInfoV1
This commit is contained in:
parent
f02abedcd9
commit
dcde86463c
@ -1249,6 +1249,7 @@ class NodeInfoV1:
|
|||||||
experimental: bool=None
|
experimental: bool=None
|
||||||
api_node: bool=None
|
api_node: bool=None
|
||||||
price_badge: dict | None = None
|
price_badge: dict | None = None
|
||||||
|
search_aliases: list[str]=None
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class NodeInfoV3:
|
class NodeInfoV3:
|
||||||
@ -1485,6 +1486,7 @@ class Schema:
|
|||||||
api_node=self.is_api_node,
|
api_node=self.is_api_node,
|
||||||
python_module=getattr(cls, "RELATIVE_PYTHON_MODULE", "nodes"),
|
python_module=getattr(cls, "RELATIVE_PYTHON_MODULE", "nodes"),
|
||||||
price_badge=self.price_badge.as_dict(self.inputs) if self.price_badge is not None else None,
|
price_badge=self.price_badge.as_dict(self.inputs) if self.price_badge is not None else None,
|
||||||
|
search_aliases=self.search_aliases if self.search_aliases else None,
|
||||||
)
|
)
|
||||||
return info
|
return info
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user