From b26a26c7b5869f7e1b2db0b3f1a0e6ec8cdfbf59 Mon Sep 17 00:00:00 2001 From: Jay Zuo Date: Sat, 30 Sep 2023 01:11:10 -0400 Subject: [PATCH] chore(misc): Typos in config.py (#25465) Co-authored-by: Sam Firke --- superset/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/superset/config.py b/superset/config.py index 20735a77ec58d..afe41fe5949ef 100644 --- a/superset/config.py +++ b/superset/config.py @@ -348,7 +348,7 @@ def _try_json_readsha(filepath: str, length: int) -> str | None: BABEL_DEFAULT_LOCALE = "en" # Your application default translation path BABEL_DEFAULT_FOLDER = "superset/translations" -# The allowed translation for you app +# The allowed translation for your app LANGUAGES = { "en": {"flag": "us", "name": "English"}, "es": {"flag": "es", "name": "Spanish"}, @@ -811,7 +811,7 @@ class D3Format(TypedDict, total=False): # Map of custom time grains and artificial join column producers used # when generating the join key between results and time shifts. -# See supeset/common/query_context_processor.get_aggregated_join_column +# See superset/common/query_context_processor.get_aggregated_join_column # # Example of a join column producer that aggregates by fiscal year # def join_producer(row: Series, column_index: int) -> str: @@ -1114,7 +1114,7 @@ def CSV_TO_HIVE_UPLOAD_DIRECTORY_FUNC( # pylint: disable=invalid-name # basis. Example value = `{"presto": CustomPrestoTemplateProcessor}` CUSTOM_TEMPLATE_PROCESSORS: dict[str, type[BaseTemplateProcessor]] = {} -# Roles that are controlled by the API / Superset and should not be changes +# Roles that are controlled by the API / Superset and should not be changed # by humans. ROBOT_PERMISSION_ROLES = ["Public", "Gamma", "Alpha", "Admin", "sql_lab"]