Skip to content

Commit eb79e39

Browse files
authored
feat: expose components in __all__ for improved module accessibility (#49)
1 parent b409048 commit eb79e39

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

python/restate/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,17 @@
3232
def test_harness(app, follow_logs = False, restate_image = ""): # type: ignore
3333
"""a dummy harness constructor to raise ImportError"""
3434
raise ImportError("Install restate-sdk[harness] to use this feature")
35+
36+
__all__ = [
37+
"Service",
38+
"VirtualObject",
39+
"Workflow",
40+
"Context",
41+
"ObjectContext",
42+
"ObjectSharedContext",
43+
"WorkflowContext",
44+
"WorkflowSharedContext",
45+
"DurablePromise",
46+
"app",
47+
"test_harness",
48+
]

0 commit comments

Comments
 (0)