Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prefect.io/llms.txt

Use this file to discover all available pages before exploring further.

prefect.settings.models.experiments

Classes

ExperimentsSettings

Settings for configuring experimental features Methods:

plugins

plugins(self) -> PluginsSettings
Deprecated. Use settings.plugins instead. Returns the same PluginsSettings instance that lives on the root Settings this ExperimentsSettings was attached to, so programmatic overrides on the parent are visible here. Falls back to a freshly built PluginsSettings (which still resolves env vars including the legacy PREFECT_EXPERIMENTS_PLUGINS_* names via AliasChoices) when this instance was constructed standalone.

settings_customise_sources

settings_customise_sources(cls, settings_cls: type[BaseSettings], init_settings: PydanticBaseSettingsSource, env_settings: PydanticBaseSettingsSource, dotenv_settings: PydanticBaseSettingsSource, file_secret_settings: PydanticBaseSettingsSource) -> tuple[PydanticBaseSettingsSource, ...]
Define an order for Prefect settings sources. The order of the returned callables decides the priority of inputs; first item is the highest priority. See https://docs.pydantic.dev/latest/concepts/pydantic_settings/#customise-settings-sources

to_environment_variables

to_environment_variables(self, exclude_unset: bool = False, include_secrets: bool = True, include_aliases: bool = False) -> dict[str, str]
Convert the settings object to a dictionary of environment variables.