Skip to content

Commit 10da85b

Browse files
committed
fix(integrations): restore _clear/_update_init_options public imports
The refactor that split integration commands moved _clear_init_options_for_integration and _update_init_options_for_integration into integrations/_helpers.py, but tests still import them from the top-level specify_cli package, causing ImportError. Re-export them with explicit aliases at the end of __init__.py to preserve the public import surface.
1 parent f270e2a commit 10da85b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/specify_cli/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,12 @@ def version(
628628
from .integrations._commands import register as _register_integration_cmds # noqa: E402
629629
_register_integration_cmds(app)
630630

631+
# Re-exported from integrations/_helpers.py to preserve the public import surface.
632+
from .integrations._helpers import ( # noqa: E402
633+
_clear_init_options_for_integration as _clear_init_options_for_integration,
634+
_update_init_options_for_integration as _update_init_options_for_integration,
635+
)
636+
631637

632638
def _require_specify_project() -> Path:
633639
"""Return the current project root if it is a spec-kit project, else exit."""

0 commit comments

Comments
 (0)