Commits

Mike Bayer  committed 124db0e

remove undoc-members from query docstring [ticket:2774]

  • Participants
  • Parent commits 10c8867
  • Branches rel_0_8

Comments (0)

Files changed (2)

File doc/build/orm/query.rst

 
 .. autoclass:: sqlalchemy.orm.query.Query
    :members:
-   :undoc-members:
 
 ORM-Specific Query Constructs
 -----------------------------

File lib/sqlalchemy/orm/query.py

 
     @property
     def selectable(self):
+        """Return the :class:`.Select` object emitted by this :class:`.Query`.
+
+        Used for :func:`.inspect` compatibility, this is equivalent to::
+
+            query.enable_eagerloads(False).with_labels().statement
+
+        """
         return self.__clause_element__()
 
     def __clause_element__(self):