We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 202a5bf commit 8ffb1a0Copy full SHA for 8ffb1a0
singlestoredb/apps/_python_udfs.py
@@ -18,6 +18,7 @@
18
19
20
async def run_udf_app(
21
+ app_mode: str = 'managed',
22
log_level: str = 'error',
23
kill_existing_app_server: bool = True,
24
) -> UdfConnectionInfo:
@@ -47,7 +48,7 @@ async def run_udf_app(
47
48
udf_suffix = ''
49
if app_config.running_interactively:
50
udf_suffix = '_test'
- app = Application(url=base_url, app_mode='managed', name_suffix=udf_suffix)
51
+ app = Application(url=base_url, app_mode=app_mode, name_suffix=udf_suffix)
52
53
if not app.endpoints:
54
raise ValueError('You must define at least one function.')
0 commit comments