Skip to content

Commit

Permalink
Add enum validation for [webserver]analytics_tool (#24032)
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj authored May 31, 2022
1 parent ff10304 commit 7c7dbfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ class AirflowConfigParser(ConfigParser):
("logging", "fab_logging_level"): _available_logging_levels,
# celery_logging_level can be empty, which uses logging_level as fallback
("logging", "celery_logging_level"): _available_logging_levels + [''],
("webserver", "analytical_tool"): ['google_analytics', 'metarouter', 'segment', ''],
}

upgraded_values: Dict[Tuple[str, str], str]
Expand Down

0 comments on commit 7c7dbfe

Please sign in to comment.