From aad68ae81f6142c7ff500085fbe0502acc751352 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Fri, 13 Sep 2024 19:40:46 -0400 Subject: [PATCH] Remove Prefect overrides --- src/controlflow/settings.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/controlflow/settings.py b/src/controlflow/settings.py index e47ce47..266d9ae 100644 --- a/src/controlflow/settings.py +++ b/src/controlflow/settings.py @@ -119,18 +119,6 @@ class Settings(ControlFlowSettings): alias="PREFECT_LOGGING_LEVEL", ) - prefect_api_url: Optional[str] = Field( - default=None, - description="The URL for the Prefect API. Leave unset to use an ephemeral API.", - alias="PREFECT_API_URL", - ) - - prefect_server_allow_ephemeral_mode: bool = Field( - default=True, - description="If True, ephemeral mode will be allowed for Prefect Server.", - alias="PREFECT_SERVER_ALLOW_EPHEMERAL_MODE", - ) - _prefect_context: contextmanager = None @field_validator("home_path", mode="before") @@ -159,8 +147,6 @@ def _apply_prefect_settings(self): settings_map = { "prefect_log_level": prefect.settings.PREFECT_LOGGING_LEVEL, - "prefect_api_url": prefect.settings.PREFECT_API_URL, - "prefect_server_allow_ephemeral_mode": prefect.settings.PREFECT_SERVER_ALLOW_EPHEMERAL_MODE, } prefect_settings = {}