[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/m fixed indentation

Andreas Jung andreas at andreas-jung.com
Sat Apr 21 02:08:18 EDT 2007


Log message for revision 74288:
  fixed indentation
  

Changed:
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/mapper.py
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/model.py

-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/mapper.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/mapper.py	2007-04-21 06:02:58 UTC (rev 74287)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/mapper.py	2007-04-21 06:08:18 UTC (rev 74288)
@@ -40,10 +40,11 @@
     def __call__(self, table, properties={}, cls=None):
         """ Returns a tuple (mapped_class, table_class).
             'table' - sqlalchemy.Table to be mapped
+
             'properties' - dict containing additional informations about
-                           relationships etc (see sqlalchemy.Mapper docs)
+
             'cls' - (optional) class used as base for creating the mapper 
-                    class (will be autogenerated if not available).
+            class (will be autogenerated if not available).
         """ 
 
         if cls is None:

Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/model.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/model.py	2007-04-21 06:02:58 UTC (rev 74287)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/model.py	2007-04-21 06:08:18 UTC (rev 74288)
@@ -43,14 +43,14 @@
             'mapper_class' -- an optional class to be used as mapper class for 'table'
 
             'relations' -- an optional list of table names referencing 'table'. This is used 
-                           for auto-constructing the relation properties of the mapper class.
+            for auto-constructing the relation properties of the mapper class.
 
             'autodetect_relations' -- try to autodetect the relationships between tables
-                           and auto-construct the relation properties of the mapper if
-                           'relations' is omitted (set to None)
+            and auto-construct the relation properties of the mapper if
+            'relations' is omitted (set to None)
 
             'table_name' -- optional full name of a table (e.g. 'someschema.sometable') if
-                            you want to use 'name' as alias for the table.
+            you want to use 'name' as alias for the table.
         """
 
         if table is not None and not isinstance(table, sqlalchemy.Table):



More information about the Checkins mailing list