diff options
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 482afb42f..29aa57faa 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -525,12 +525,12 @@ class TypeCompiler(util.with_metaclass(util.EnsureKWArgType, object)): # this was a Visitable, but to allow accurate detection of # column elements this is actually a column element -class _CompileLabel(elements.ColumnElement): +class _CompileLabel(elements.CompilerColumnElement): """lightweight label object which acts as an expression.Label.""" __visit_name__ = "label" - __slots__ = "element", "name" + __slots__ = "element", "name", "_alt_names" def __init__(self, col, name, alt_names=()): self.element = col |