-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add in a settings.experiments module (#15845)
- Loading branch information
1 parent
8768ffa
commit 7f88577
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from prefect.settings.base import PrefectBaseSettings, PrefectSettingsConfigDict | ||
|
||
|
||
class ExperimentsSettings(PrefectBaseSettings): | ||
""" | ||
Settings for configuring experimental features | ||
""" | ||
|
||
model_config = PrefectSettingsConfigDict( | ||
env_prefix="PREFECT_EXPERIMENTS_", | ||
env_file=".env", | ||
extra="ignore", | ||
toml_file="prefect.toml", | ||
prefect_toml_table_header=("experiments",), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters