We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d7495c commit 2f7b68cCopy full SHA for 2f7b68c
3 files changed
ontograph/__init__.py
@@ -1,16 +1,3 @@
1
-from ontograph.ontology_registry import OBORegistryAdapter
2
-from ontograph.ontology_loader import ProntoLoaderAdapter
+from ontograph.client import registry # , load
3
4
-from ontograph.config.settings import DEFAULT_CACHE_DIR
5
-from pathlib import Path
6
-
7
-cache_dir = DEFAULT_CACHE_DIR
8
9
10
-# Public API
11
-def registry(cache_dir: str | None) -> OBORegistryAdapter:
12
- """
13
- Entry point for accessing ontology registry.
14
15
- registry = OBORegistryAdapter(cache_dir=Path(cache_dir))
16
- return registry
+__all__ = ['registry', 'load']
0 commit comments