singlestoredb 1.12.1__tar.gz → 1.12.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of singlestoredb might be problematic. Click here for more details.
- {singlestoredb-1.12.1/singlestoredb.egg-info → singlestoredb-1.12.2}/PKG-INFO +1 -1
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/setup.cfg +1 -1
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/__init__.py +1 -1
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handlers/utils.py +27 -19
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/files.py +1 -0
- singlestoredb-1.12.2/singlestoredb/tests/test_fusion.py +1524 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2/singlestoredb.egg-info}/PKG-INFO +1 -1
- singlestoredb-1.12.1/singlestoredb/tests/test_fusion.py +0 -716
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/LICENSE +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/README.md +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/accel.c +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/setup.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/ai/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/ai/embeddings.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/alchemy/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/apps/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/apps/_cloud_functions.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/apps/_config.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/apps/_connection_info.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/apps/_dashboards.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/apps/_process.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/apps/_stdout_supress.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/apps/_uvicorn_util.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/auth.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/config.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/connection.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/converters.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/exceptions.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/decorator.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/dtypes.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/ext/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/ext/arrow.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/ext/asgi.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/ext/json.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/ext/mmap.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/ext/rowdat_1.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/ext/utils.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/functions/signature.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/graphql.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handler.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handlers/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handlers/export.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handlers/files.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handlers/job.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handlers/models.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handlers/stage.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/handlers/workspace.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/registry.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/fusion/result.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/http/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/http/connection.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/magics/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/magics/run_personal.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/magics/run_shared.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/billing_usage.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/cluster.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/export.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/job.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/manager.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/organization.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/region.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/utils.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/management/workspace.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/_auth.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/charset.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/connection.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/CLIENT.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/COMMAND.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/CR.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/ER.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/EXTENDED_TYPE.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/FIELD_TYPE.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/FLAG.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/SERVER_STATUS.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/VECTOR_TYPE.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/constants/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/converters.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/cursors.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/err.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/optionfile.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/protocol.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/base.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/conftest.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_DictCursor.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_SSCursor.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_basic.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_connection.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_converters.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_cursor.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_err.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_issues.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_load_local.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_nextset.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/test_optionfile.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/thirdparty/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/capabilities.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/dbapi20.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/mysql/times.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/notebook/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/notebook/_objects.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/notebook/_portal.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/py.typed +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/pytest.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/server/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/server/docker.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/server/free_tier.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/empty.sql +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/ext_funcs/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/local_infile.csv +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test.ipynb +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test.sql +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test2.ipynb +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test2.sql +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_basics.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_config.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_connection.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_dbapi.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_exceptions.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_ext_func.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_ext_func_data.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_http.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_management.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_plugin.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_results.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_types.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_udf.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/test_xdict.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/tests/utils.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/types.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/config.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/convert_rows.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/debug.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/dtypes.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/events.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/mogrify.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/results.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb/utils/xdict.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb.egg-info/SOURCES.txt +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb.egg-info/dependency_links.txt +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb.egg-info/entry_points.txt +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb.egg-info/requires.txt +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/singlestoredb.egg-info/top_level.txt +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/sqlx/__init__.py +0 -0
- {singlestoredb-1.12.1 → singlestoredb-1.12.2}/sqlx/magic.py +0 -0
|
@@ -199,59 +199,65 @@ def get_deployment(
|
|
|
199
199
|
"""
|
|
200
200
|
manager = get_workspace_manager()
|
|
201
201
|
|
|
202
|
+
#
|
|
203
|
+
# Search for deployment by name
|
|
204
|
+
#
|
|
202
205
|
deployment_name = params.get('deployment_name') or \
|
|
203
206
|
(params.get('in_deployment') or {}).get('deployment_name') or \
|
|
204
207
|
(params.get('group') or {}).get('deployment_name') or \
|
|
205
208
|
((params.get('in') or {}).get('in_group') or {}).get('deployment_name') or \
|
|
206
209
|
((params.get('in') or {}).get('in_deployment') or {}).get('deployment_name')
|
|
210
|
+
|
|
207
211
|
if deployment_name:
|
|
212
|
+
# Standard workspace group
|
|
208
213
|
workspace_groups = [
|
|
209
214
|
x for x in manager.workspace_groups
|
|
210
215
|
if x.name == deployment_name
|
|
211
216
|
]
|
|
212
217
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
filtered_starter_workspaces = [
|
|
216
|
-
x for x in manager.starter_workspaces
|
|
217
|
-
if x.name == deployment_name
|
|
218
|
-
]
|
|
219
|
-
|
|
220
|
-
if not filtered_starter_workspaces:
|
|
221
|
-
raise KeyError(
|
|
222
|
-
f'no deployment found with name: {deployment_name}',
|
|
223
|
-
)
|
|
224
|
-
|
|
225
|
-
starter_workspaces = filtered_starter_workspaces
|
|
218
|
+
if len(workspace_groups) == 1:
|
|
219
|
+
return workspace_groups[0]
|
|
226
220
|
|
|
227
|
-
|
|
221
|
+
elif len(workspace_groups) > 1:
|
|
228
222
|
ids = ', '.join(x.id for x in workspace_groups)
|
|
229
223
|
raise ValueError(
|
|
230
224
|
f'more than one workspace group with given name was found: {ids}',
|
|
231
225
|
)
|
|
232
226
|
|
|
233
|
-
|
|
227
|
+
# Starter workspace
|
|
228
|
+
starter_workspaces = [
|
|
229
|
+
x for x in manager.starter_workspaces
|
|
230
|
+
if x.name == deployment_name
|
|
231
|
+
]
|
|
232
|
+
|
|
233
|
+
if len(starter_workspaces) == 1:
|
|
234
|
+
return starter_workspaces[0]
|
|
235
|
+
|
|
236
|
+
elif len(starter_workspaces) > 1:
|
|
234
237
|
ids = ', '.join(x.id for x in starter_workspaces)
|
|
235
238
|
raise ValueError(
|
|
236
239
|
f'more than one starter workspace with given name was found: {ids}',
|
|
237
240
|
)
|
|
238
241
|
|
|
239
|
-
|
|
240
|
-
return workspace_groups[0]
|
|
241
|
-
else:
|
|
242
|
-
return starter_workspaces[0]
|
|
242
|
+
raise KeyError(f'no deployment found with name: {deployment_name}')
|
|
243
243
|
|
|
244
|
+
#
|
|
245
|
+
# Search for deployment by ID
|
|
246
|
+
#
|
|
244
247
|
deployment_id = params.get('deployment_id') or \
|
|
245
248
|
(params.get('in_deployment') or {}).get('deployment_id') or \
|
|
246
249
|
(params.get('group') or {}).get('deployment_id') or \
|
|
247
250
|
((params.get('in') or {}).get('in_group') or {}).get('deployment_id') or \
|
|
248
251
|
((params.get('in') or {}).get('in_deployment') or {}).get('deployment_id')
|
|
252
|
+
|
|
249
253
|
if deployment_id:
|
|
250
254
|
try:
|
|
255
|
+
# Standard workspace group
|
|
251
256
|
return manager.get_workspace_group(deployment_id)
|
|
252
257
|
except ManagementError as exc:
|
|
253
258
|
if exc.errno == 404:
|
|
254
259
|
try:
|
|
260
|
+
# Starter workspace
|
|
255
261
|
return manager.get_starter_workspace(deployment_id)
|
|
256
262
|
except ManagementError as exc:
|
|
257
263
|
if exc.errno == 404:
|
|
@@ -260,6 +266,7 @@ def get_deployment(
|
|
|
260
266
|
else:
|
|
261
267
|
raise
|
|
262
268
|
|
|
269
|
+
# Use workspace group from environment
|
|
263
270
|
if os.environ.get('SINGLESTOREDB_WORKSPACE_GROUP'):
|
|
264
271
|
try:
|
|
265
272
|
return manager.get_workspace_group(
|
|
@@ -273,6 +280,7 @@ def get_deployment(
|
|
|
273
280
|
)
|
|
274
281
|
raise
|
|
275
282
|
|
|
283
|
+
# Use cluster from environment
|
|
276
284
|
if os.environ.get('SINGLESTOREDB_CLUSTER'):
|
|
277
285
|
try:
|
|
278
286
|
return manager.get_starter_workspace(
|