summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r--lib/sqlalchemy/sql.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py
index b18b0916e..02e1619a1 100644
--- a/lib/sqlalchemy/sql.py
+++ b/lib/sqlalchemy/sql.py
@@ -702,7 +702,8 @@ class TypeClause(ClauseElement):
self.type = type
def accept_visitor(self, visitor):
visitor.visit_typeclause(self)
-
+ def _get_from_objects(self):
+ return []
class TextClause(ClauseElement):
"""represents literal a SQL text fragment. public constructor is the
text() function.