document important mapper attributes

Issue #2094 resolved
Mike Bayer repo owner created an issue

per armin, here's a syntax we can use with sphinx I didnt know earlier:

diff -r d5d1e2df67048b77ef41626940189116ba98b2f0 lib/sqlalchemy/orm/mapper.py
--- a/lib/sqlalchemy/orm/mapper.py  Mon Mar 14 11:20:01 2011 -0400
+++ b/lib/sqlalchemy/orm/mapper.py  Mon Mar 14 12:43:06 2011 -0400
@@ -219,6 +219,12 @@

     dispatch = event.dispatcher(events.MapperEvents)

+    #: the local table
+    local_table = None
+
+    #: the mapped table
+    mapped_table = None
+
     def _configure_inheritance(self):
         """Configure settings related to inherting and/or inherited mappers
         being present."""

Comments (2)

  1. Log in to comment