From 77e5f4acc154161f04ab88479503f8a7c21cf6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Mon, 30 Mar 2026 14:31:39 -0700 Subject: [PATCH] runner(daily): remove deprecated configure_with_args() --- src/pipecat/runner/daily.py | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/pipecat/runner/daily.py b/src/pipecat/runner/daily.py index a60b84a6a..082d7271c 100644 --- a/src/pipecat/runner/daily.py +++ b/src/pipecat/runner/daily.py @@ -275,32 +275,3 @@ async def configure( error_msg = f"Error creating Daily room: {e}" logger.error(error_msg) raise - - -# Keep this for backwards compatibility, but mark as deprecated -async def configure_with_args(aiohttp_session: aiohttp.ClientSession, parser=None): - """Configure Daily room with command-line argument parsing. - - .. deprecated:: 0.0.78 - This function is deprecated. Use configure() instead which uses - environment variables only. - - Args: - aiohttp_session: HTTP session for making API requests. - parser: Ignored. Kept for backwards compatibility. - - Returns: - Tuple containing room URL, authentication token, and None (for args). - """ - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "configure_with_args is deprecated. Use configure() instead.", - DeprecationWarning, - stacklevel=2, - ) - - room_url, token = await configure(aiohttp_session) - return (room_url, token, None)