Skip to content

Commit bc4a40c

Browse files
As I can't compile here, I tried using ontoenv 0.4.0.a14 and rom ontoenv import run_cli and it works here I suggest full pat from ontoenv import run_cli as _run_cli
1 parent dc65d0f commit bc4a40c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/ontoenv/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""Python package shim for the ontoenv extension."""
22

33
# These symbols come from the Rust extension module built via maturin.
4-
from ._native import OntoEnv, Ontology, run_cli, version # type: ignore[attr-defined]
5-
from . import _native as _ext # type: ignore[attr-defined]
4+
from ontoenv._native import OntoEnv, Ontology, run_cli, version # type: ignore[attr-defined]
5+
from ontoenv import _native as _ext # type: ignore[attr-defined]
66

77
__doc__ = getattr(_ext, "__doc__", None) # type: ignore[assignment]
88

python/ontoenv/_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import sys
44

5-
from .ontoenv import run_cli as _run_cli
5+
from ontoenv import run_cli as _run_cli
66

77

88
def main(argv: list[str] | None = None) -> int:

0 commit comments

Comments
 (0)