Skip to content

Commit 1f04280

Browse files
committed
STY: Add module-level docstring, sort __all__ list.
1 parent 9ca5146 commit 1f04280

File tree

1 file changed

+32
-33
lines changed

1 file changed

+32
-33
lines changed

medkit/core/__init__.py

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,4 @@
1-
__all__ = [
2-
"dict_conv",
3-
"AnnotationType",
4-
"AnnotationContainer",
5-
"Attribute",
6-
"AttributeContainer",
7-
"Collection",
8-
"InputConverter",
9-
"OutputConverter",
10-
"IdentifiableDataItem",
11-
"IdentifiableDataItemWithAttrs",
12-
"DocPipeline",
13-
"Document",
14-
"generate_id",
15-
"generate_deterministic_id",
16-
"DocOperation",
17-
"Operation",
18-
"OperationDescription",
19-
"Pipeline",
20-
"PipelineStep",
21-
"PipelineCompatibleOperation",
22-
"DescribableOperation",
23-
"ProvCompatibleOperation",
24-
"ProvTracer",
25-
"Prov",
26-
"Store",
27-
"GlobalStore",
28-
"ProvStore",
29-
"create_prov_store",
30-
# not imported
31-
"audio",
32-
"text",
33-
]
1+
"""Core functionalities common to all modalities."""
342

353
from medkit.core import dict_conv
364
from medkit.core.annotation import AnnotationType
@@ -55,3 +23,34 @@
5523
from medkit.core.prov_store import ProvStore, create_prov_store
5624
from medkit.core.prov_tracer import Prov, ProvTracer
5725
from medkit.core.store import GlobalStore, Store
26+
27+
__all__ = [
28+
"AnnotationContainer",
29+
"AnnotationType",
30+
"Attribute",
31+
"AttributeContainer",
32+
"Collection",
33+
"DescribableOperation",
34+
"DocOperation",
35+
"DocPipeline",
36+
"Document",
37+
"GlobalStore",
38+
"IdentifiableDataItem",
39+
"IdentifiableDataItemWithAttrs",
40+
"InputConverter",
41+
"Operation",
42+
"OperationDescription",
43+
"OutputConverter",
44+
"Pipeline",
45+
"PipelineCompatibleOperation",
46+
"PipelineStep",
47+
"Prov",
48+
"ProvCompatibleOperation",
49+
"ProvStore",
50+
"ProvTracer",
51+
"Store",
52+
"create_prov_store",
53+
"dict_conv",
54+
"generate_deterministic_id",
55+
"generate_id",
56+
]

0 commit comments

Comments
 (0)