mirror of
https://github.com/rookiestar28/ComfyUI-OpenClaw.git
synced 2026-08-14 00:48:07 +00:00
19 lines
658 B
Python
19 lines
658 B
Python
"""Compatibility alias for the bootstrap registration implementation module."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from typing import TYPE_CHECKING
|
|
|
|
from .bootstrap import registration as _implementation
|
|
|
|
if TYPE_CHECKING:
|
|
# Static-only exports keep legacy imports typed without duplicating module globals.
|
|
from .bootstrap.registration import register_routes_once as register_routes_once
|
|
from .bootstrap.registration import (
|
|
reset_route_bootstrap_for_tests as reset_route_bootstrap_for_tests,
|
|
)
|
|
|
|
# IMPORTANT: alias the module object; copied re-exports break accepted patch seams.
|
|
sys.modules[__name__] = _implementation
|