Skip to content

Commit

Permalink
Using filter_strategy in env_loader to fix dynaconf#760
Browse files Browse the repository at this point in the history
  • Loading branch information
limeiralucas committed Jul 13, 2022
1 parent aab6666 commit ba68f0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dynaconf/loaders/env_loader.py
Expand Up @@ -76,6 +76,9 @@ def load_from_env(
}
# Update the settings space based on gathered data from environment.
if data:
filter_strategy = obj.get("FILTER_STRATEGY")
if filter_strategy:
data = filter_strategy(data)
obj.update(data, loader_identifier=identifier)


Expand Down

0 comments on commit ba68f0b

Please sign in to comment.