Skip to content

Commit 7d57e9d

Browse files
remove replace_existing
1 parent 4e6dce4 commit 7d57e9d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

singlestoredb/apps/_python_udfs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616

1717
async def run_udf_app(
18-
replace_existing: bool,
1918
log_level: str = 'error',
2019
kill_existing_app_server: bool = True,
2120
) -> UdfConnectionInfo:
@@ -57,7 +56,7 @@ async def run_udf_app(
5756

5857
# Register the functions only if the app is running interactively.
5958
if app_config.running_interactively:
60-
app.register_functions(replace=replace_existing)
59+
app.register_functions(replace=True)
6160

6261
asyncio.create_task(_running_server.serve())
6362
await _running_server.wait_for_startup()

0 commit comments

Comments
 (0)