summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/interfaces.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-07-23 18:22:06 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-07-23 18:22:06 -0400
commit65bdf245c6cfd4381f8463714fbec1880a950fbb (patch)
tree8ecbc4326e4379eb6c6dd964171a8686cc1be770 /lib/sqlalchemy/orm/interfaces.py
parentee0f80b4f028e27f35ae851e37e4070a9179b2a1 (diff)
downloadsqlalchemy-65bdf245c6cfd4381f8463714fbec1880a950fbb.tar.gz
- [feature] ORM entities can be passed
to select() as well as the select_from(), correlate(), and correlate_except() methods, where they will be unwrapped into selectables. [ticket:2245]
Diffstat (limited to 'lib/sqlalchemy/orm/interfaces.py')
-rw-r--r--lib/sqlalchemy/orm/interfaces.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/interfaces.py b/lib/sqlalchemy/orm/interfaces.py
index 84c75525a..d0732b913 100644
--- a/lib/sqlalchemy/orm/interfaces.py
+++ b/lib/sqlalchemy/orm/interfaces.py
@@ -62,6 +62,8 @@ class _InspectionAttr(object):
is_instance = False
is_mapper = False
is_property = False
+ is_attribute = False
+ is_clause_element = False
class MapperProperty(_InspectionAttr):
"""Manage the relationship of a ``Mapper`` to a single class