From b50417be90ff683b8eace2dcb7ab6d8f3a91d942 Mon Sep 17 00:00:00 2001 From: haosenwang1018 <167664334+haosenwang1018@users.noreply.github.com> Date: Tue, 3 Mar 2026 19:51:37 +0000 Subject: [PATCH] feat: expose package version in top-level api --- __init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 273bba3b..0f22b788 100644 --- a/__init__.py +++ b/__init__.py @@ -1,3 +1,10 @@ from .comfyui.comfyui_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS -__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"] +__version__ = "1.0.1" + +__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "__version__", "get_version"] + + +def get_version() -> str: + """Return the VideoX-Fun version.""" + return __version__