diff --git a/pyproject.toml b/pyproject.toml index 4b0a6030bc..271190f9b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ Issues = "https://github.com/Arize-ai/phoenix/issues" Source = "https://github.com/Arize-ai/phoenix" [tool.hatch.version] -path = "src/phoenix/__about__.py" +path = "src/phoenix/__init__.py" [build-system] requires = ["hatchling"] @@ -131,7 +131,6 @@ testpaths = [ branch = true parallel = true omit = [ - "src/phoenix/__about__.py", "**/__init__.py", ] @@ -191,7 +190,6 @@ build = 'strawberry export-schema phoenix.server.api.schema:schema > app/schema. [tool.interrogate] fail-under = 0 -exclude=["src/phoenix/__about__.py"] # generate-badge = "badges/" omit-covered-files = true ignore-init-method = true diff --git a/src/phoenix/__about__.py b/src/phoenix/__about__.py deleted file mode 100644 index a73339bf81..0000000000 --- a/src/phoenix/__about__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "0.0.8" diff --git a/src/phoenix/__init__.py b/src/phoenix/__init__.py index 463ce9dc2b..feb91fd6d8 100644 --- a/src/phoenix/__init__.py +++ b/src/phoenix/__init__.py @@ -1,5 +1,7 @@ -from .datasets import Dataset, EmbeddingColumnNames, Schema, load_example, ExampleDatasets -from .session import active_session, close_app, launch_app, Session +from .datasets import Dataset, EmbeddingColumnNames, ExampleDatasets, Schema, load_example +from .session import Session, active_session, close_app, launch_app + +__version__ = "0.0.8" # module level doc-string __doc__ = """ @@ -16,3 +18,15 @@ - Identify problematic embeddings cohorts using UMAP and clustering - Explore model performance, drift, and data quality metrics """ + +__all__ = [ + "Dataset", + "EmbeddingColumnNames", + "Schema", + "load_example", + "ExampleDatasets", + "active_session", + "close_app", + "launch_app", + "Session", +]