[SQL-CVS] r2716 - SQLObject/trunk/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2007-06-08 16:08:46
|
Author: ianb
Date: 2007-06-08 10:08:39 -0600 (Fri, 08 Jun 2007)
New Revision: 2716
Modified:
SQLObject/trunk/sqlobject/views.py
Log:
docstring formatting
Modified: SQLObject/trunk/sqlobject/views.py
===================================================================
--- SQLObject/trunk/sqlobject/views.py 2007-06-08 16:08:12 UTC (rev 2715)
+++ SQLObject/trunk/sqlobject/views.py 2007-06-08 16:08:39 UTC (rev 2716)
@@ -45,15 +45,18 @@
class ViewSQLObject(SQLObject):
- '''A SQLObject class that derives all it's values from other SQLObject classes.
- Columns on subclasses should use SQLBuilder constructs for dbName,
- and sqlmeta should specify:
- idName as a SQLBuilder construction
- clause as SQLBuilder clause for specifying join conditions or other restrictions
- table as an optional alternate name for the class alias
- See test_views.py for simple examples.
- '''
+ """
+ A SQLObject class that derives all it's values from other SQLObject classes.
+ Columns on subclasses should use SQLBuilder constructs for dbName,
+ and sqlmeta should specify:
+ * idName as a SQLBuilder construction
+ * clause as SQLBuilder clause for specifying join conditions or other restrictions
+ * table as an optional alternate name for the class alias
+
+ See test_views.py for simple examples.
+ """
+
def __classinit__(cls, new_attrs):
SQLObject.__classinit__(cls, new_attrs)
# like is_base
|