Skip to content

Commit

Permalink
chore(misc): Typos in config.py (apache#25465)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
  • Loading branch information
JZ6 and sfirke authored Sep 30, 2023
1 parent a8d42f7 commit 588ea03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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"]

Expand Down

0 comments on commit 588ea03

Please sign in to comment.