Skip to content

Commit 1a2666b

Browse files
committed
feat: export Store types and add DEFAULT_STORAGE_FORMAT
1 parent e8e661f commit 1a2666b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

wherobots/db/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
)
1313
from .region import Region
1414
from .runtime import Runtime
15+
from .store import Store, StorageFormat, StoreResult
1516

1617
__all__ = [
1718
"Connection",
@@ -27,4 +28,7 @@
2728
"NotSupportedError",
2829
"Region",
2930
"Runtime",
31+
"Store",
32+
"StorageFormat",
33+
"StoreResult",
3034
]

wherobots/db/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from .region import Region
66
from .runtime import Runtime
77
from .session_type import SessionType
8+
from .store import StorageFormat
89

910

1011
DEFAULT_ENDPOINT: str = "api.cloud.wherobots.com" # "api.cloud.wherobots.com"
@@ -13,6 +14,7 @@
1314
DEFAULT_RUNTIME: Runtime = Runtime.TINY
1415
DEFAULT_REGION: Region = Region.AWS_US_WEST_2
1516
DEFAULT_SESSION_TYPE: SessionType = SessionType.MULTI
17+
DEFAULT_STORAGE_FORMAT: StorageFormat = StorageFormat.PARQUET
1618
DEFAULT_READ_TIMEOUT_SECONDS: float = 0.25
1719
DEFAULT_SESSION_WAIT_TIMEOUT_SECONDS: float = 900
1820

0 commit comments

Comments
 (0)