diff options
Diffstat (limited to 'lib/sqlalchemy/sql')
| -rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/sql/expression.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 851bc30ac..80a4d7f52 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -475,7 +475,7 @@ class DefaultCompiler(engine.Compiled): correlate_froms = set(sql._from_objects(*froms)) - # TODO: might want to propigate existing froms for select(select(select)) + # TODO: might want to propagate existing froms for select(select(select)) # where innermost select should correlate to outermost # if existingfroms: # correlate_froms = correlate_froms.union(existingfroms) diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py index 2838cc896..2fa3fc36f 100644 --- a/lib/sqlalchemy/sql/expression.py +++ b/lib/sqlalchemy/sql/expression.py @@ -2791,7 +2791,7 @@ class _ColumnClause(_Immutable, ColumnElement): return _BindParamClause(self.name, obj, type_=self.type, unique=True) def _make_proxy(self, selectable, name=None, attach=True): - # propigate the "is_literal" flag only if we are keeping our name, + # propagate the "is_literal" flag only if we are keeping our name, # otherwise its considered to be a label is_literal = self.is_literal and (name is None or name == self.name) c = _ColumnClause(name or self.name, selectable=selectable, type_=self.type, is_literal=is_literal) |
