File tree Expand file tree Collapse file tree 4 files changed +23
-4
lines changed Expand file tree Collapse file tree 4 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ from wherobots.db.runtime import Runtime
3333
3434with connect(
3535 api_key = ' ...' ,
36- runtime = Runtime.SEDONA ,
36+ runtime = Runtime.TINY ,
3737 region = Region.AWS_US_WEST_2 ) as conn:
3838 curr = conn.cursor()
3939 curr.execute(" SHOW SCHEMAS IN wherobots_open_data" )
Original file line number Diff line number Diff line change 7171 host = args .api_endpoint ,
7272 token = token ,
7373 api_key = api_key ,
74- runtime = Runtime .SEDONA ,
75- region = Region .AWS_US_WEST_2 ,
7674 shutdown_after_inactive_seconds = args .shutdown_after_inactive_seconds ,
7775 wait_timeout = 900 ,
7876 )
Original file line number Diff line number Diff line change 77
88DEFAULT_ENDPOINT : str = "api.cloud.wherobots.com" # "api.cloud.wherobots.com"
99STAGING_ENDPOINT : str = "api.staging.wherobots.com" # "api.staging.wherobots.com"
10- DEFAULT_RUNTIME : Runtime = Runtime .SEDONA
10+ DEFAULT_RUNTIME : Runtime = Runtime .TINY
1111DEFAULT_REGION : Region = Region .AWS_US_WEST_2
1212DEFAULT_READ_TIMEOUT_SECONDS : float = 0.25
1313DEFAULT_SESSION_WAIT_TIMEOUT_SECONDS : float = 900
Original file line number Diff line number Diff line change 22
33
44class Runtime (Enum ):
5+ TINY = "tiny"
6+ SMALL = "small"
7+ MEDIUM = "medium"
8+ LARGE = "large"
9+ X_LARGE = "x-large"
10+ XX_LARGE = "2x-large"
11+ XXXX_LARGE = "4x-large"
12+
13+ # HIMEM
14+ MEDIUM_HIMEM = "medium-himem"
15+ LARGE_HIMEM = "large-himem"
16+ X_LARGE_HIMEM = "x-large-himem"
17+ XX_LARGE_HIMEM = "2x-large-himem"
18+ XXXX_LARGE_HIMEM = "4x-large-himem"
19+
20+ # GPU
21+ TINY_A10_GPU = "tiny-a10-gpu"
22+ SMALL_A10_GPU = "small-a10-gpu"
23+ MEDIUM_A10_GPU = "medium-a10-gpu"
24+
25+ # Deprecated names; will be removed in a later major version.
526 SEDONA = "tiny"
627 SAN_FRANCISCO = "small"
728 NEW_YORK = "medium"
You can’t perform that action at this time.
0 commit comments