You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jl...@apache.org on 2026/09/02 17:06:49 UTC
(superset) branch master updated: chore: fix typos in comments and docstrings (#43785)
This is an automated email from the ASF dual-hosted git repository.
sadpandajoe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 7321d4aff6f chore: fix typos in comments and docstrings (#43785)
7321d4aff6f is described below
commit 7321d4aff6fe651ade13c3a9a275959ec67c4674
Author: MsfPablo <12...@users.noreply.github.com>
AuthorDate: Wed Sep 2 19:06:41 2026 +0200
chore: fix typos in comments and docstrings (#43785)
---
superset/config.py | 4 ++--
superset/databases/filters.py | 2 +-
superset/databases/schemas.py | 2 +-
superset/datasets/api.py | 2 +-
superset/models/core.py | 2 +-
superset/sql_lab.py | 2 +-
superset/utils/oauth2.py | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/superset/config.py b/superset/config.py
index 114ccfcd0bb..8e760d3cf06 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -94,7 +94,7 @@ EVENT_LOGGER = DBEventLogger()
SUPERSET_LOG_VIEW = True
-# This config is used to enable/disable the folowing security menu items:
+# This config is used to enable/disable the following security menu items:
# List Users, List Roles, List Groups
SUPERSET_SECURITY_VIEW_MENU = True
@@ -2706,7 +2706,7 @@ DATABASE_OAUTH2_CLIENTS: dict[str, dict[str, Any]] = {
# },
}
-# OAuth2 state is encoded in a JWT using the alogorithm below.
+# OAuth2 state is encoded in a JWT using the algorithm below.
DATABASE_OAUTH2_JWT_ALGORITHM = "HS256"
# By default the redirect URI points to /api/v1/database/oauth2/ and doesn't have to be
diff --git a/superset/databases/filters.py b/superset/databases/filters.py
index 321eb621005..8afc3acbe28 100644
--- a/superset/databases/filters.py
+++ b/superset/databases/filters.py
@@ -45,7 +45,7 @@ class DatabaseFilter(BaseFilter): # pylint: disable=too-few-public-methods
"""
Dynamic Filters need to be applied to the Query before we filter
databases with anything else. This way you can show/hide databases using
- Feature Flags for example in conjuction with the regular role filtering.
+ Feature Flags for example in conjunction with the regular role filtering.
If not, if an user has access to all Databases it would skip this dynamic
filtering.
"""
diff --git a/superset/databases/schemas.py b/superset/databases/schemas.py
index 4cb6f3b40ba..3d678921086 100644
--- a/superset/databases/schemas.py
+++ b/superset/databases/schemas.py
@@ -1586,7 +1586,7 @@ class QualifiedTableSchema(Schema):
"""
Schema for a qualified table reference.
- Catalog and schema can be ommited, to fallback to default values. Table name must be
+ Catalog and schema can be omitted, to fallback to default values. Table name must be
present.
"""
diff --git a/superset/datasets/api.py b/superset/datasets/api.py
index e65cc4a83d8..21607bf3e39 100644
--- a/superset/datasets/api.py
+++ b/superset/datasets/api.py
@@ -1740,7 +1740,7 @@ class DatasetRestApi(SoftDeleteApiMixin, BaseSupersetModelRestApi):
response["id"] = table.id
response[API_RESULT_RES_KEY] = show_model_schema.dump(table, many=False)
- # remove folders from resposne if `DATASET_FOLDERS` is disabled, so that it's
+ # remove folders from response if `DATASET_FOLDERS` is disabled, so that it's
# possible to inspect if the feature is supported or not
if (
not is_feature_enabled("DATASET_FOLDERS")
diff --git a/superset/models/core.py b/superset/models/core.py
index a941fd52acd..58d46f99692 100755
--- a/superset/models/core.py
+++ b/superset/models/core.py
@@ -1038,7 +1038,7 @@ class Database(CoreDatabase, AuditMixinNullable, ImportExportMixin): # pylint:
if engine.dialect.identifier_preparer._double_percents: # noqa
sql = sql.replace("%%", "%")
- # for nwo we only optimize queries on virtual datasources, since the only
+ # for now we only optimize queries on virtual datasources, since the only
# optimization available is predicate pushdown
if is_feature_enabled("OPTIMIZE_SQL") and is_virtual:
script = SQLScript(sql, self.db_engine_spec.engine).optimize()
diff --git a/superset/sql_lab.py b/superset/sql_lab.py
index 251e1309bf0..4127c863cc3 100644
--- a/superset/sql_lab.py
+++ b/superset/sql_lab.py
@@ -726,7 +726,7 @@ def cancel_query(query: Query) -> bool:
"""
Cancel a running query.
- Note some engines implicitly handle the cancelation of a query and thus no explicit
+ Note some engines implicitly handle the cancellation of a query and thus no explicit
action is required.
:param query: Query to cancel
diff --git a/superset/utils/oauth2.py b/superset/utils/oauth2.py
index c173e5a579c..071f54fd371 100644
--- a/superset/utils/oauth2.py
+++ b/superset/utils/oauth2.py
@@ -102,7 +102,7 @@ def get_oauth2_access_token(
return a fresh token and store it in the database for further requests. The function
has a retry decorator, in case a dashboard with multiple charts triggers
simultaneous requests for refreshing a stale token; in that case only the first
- process to acquire the lock will perform the refresh, and othe process should find a
+ process to acquire the lock will perform the refresh, and other processes should find
a valid token when they retry.
""" # noqa: E501
# pylint: disable=import-outside-toplevel