Skip to content

Commit

Permalink
Merge pull request #311 from PrefectHQ/prefect
Browse files Browse the repository at this point in the history
Remove Prefect overrides
  • Loading branch information
jlowin authored Oct 9, 2024
2 parents 159147f + 84986de commit af51a90
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/controlflow/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,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")
Expand Down Expand Up @@ -181,8 +169,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 = {}
Expand Down

0 comments on commit af51a90

Please sign in to comment.