1. idank
  2. sqlalchemy

Commits

Mike Bayer  committed 66801e2

formatting tweaks

  • Participants
  • Parent commits d69f1a2
  • Branches default

Comments (0)

Files changed (2)

File doc/build/gen_docstrings.py

View file
                                                orm.collections.MappedCollection,
                                                orm.collections.CollectionAdapter]),
         make_doc(obj=orm.interfaces),
-        make_doc(obj=orm.mapperlib, classes=[orm.mapperlib.MapperExtension, orm.mapperlib.Mapper]),
+        make_doc(obj=orm.mapperlib, classes=[orm.mapperlib.Mapper]),
         make_doc(obj=orm.properties),
         make_doc(obj=orm.query, classes=[orm.query.Query]),
         make_doc(obj=orm.session, classes=[orm.session.Session]),

File lib/sqlalchemy/orm/session.py

View file
     
     SQLAlchemy's unit of work includes these functions:
 
-      * The ability to track in-memory changes on scalar- and collection-based object
-        attributes, such that database persistence operations can be assembled based on those
-        changes.
+    * The ability to track in-memory changes on scalar- and collection-based object
+      attributes, such that database persistence operations can be assembled based on those
+      changes.
 
-      * The ability to organize individual SQL queries and population of newly generated
-        primary and foreign key-holding attributes during a persist operation
-        such that referential integrity is maintained at all times.  
-      
-      * The ability to maintain insert ordering against the order in which
-        new instances were added to the session.  
-      
-      * an Identity Map, which is a dictionary keying instances to their unique primary key
-        identity. This ensures that only one copy of a particular entity is ever present
-        within the session, even if repeated load operations for the same entity occur. This
-        allows many parts of an application to get a handle to a particular object without
-        any chance of modifications going to two different places.
+    * The ability to organize individual SQL queries and population of newly generated
+      primary and foreign key-holding attributes during a persist operation such that
+      referential integrity is maintained at all times.
+
+    * The ability to maintain insert ordering against the order in which new instances were
+      added to the session.
+
+    * an Identity Map, which is a dictionary keying instances to their unique primary key
+      identity. This ensures that only one copy of a particular entity is ever present
+      within the session, even if repeated load operations for the same entity occur. This
+      allows many parts of an application to get a handle to a particular object without
+      any chance of modifications going to two different places.
 
     When dealing with instances of mapped classes, an instance may be *attached* to a
     particular Session, else it is *unattached* . An instance also may or may not correspond