summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/schema.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-12-09 04:11:16 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-12-09 04:11:16 +0000
commita685f5d078b7f6b47417c6f497ba2d87f7ff524a (patch)
treefa5a1617cf5d7f4ce259885dcdaf40d69e42571b /lib/sqlalchemy/schema.py
parentf37207271aaf21dcbca85cbd445ce93348a236f5 (diff)
downloadsqlalchemy-a685f5d078b7f6b47417c6f497ba2d87f7ff524a.tar.gz
docstring fix for [ticket:381]
Diffstat (limited to 'lib/sqlalchemy/schema.py')
-rw-r--r--lib/sqlalchemy/schema.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py
index 93f4574bc..beb320e5a 100644
--- a/lib/sqlalchemy/schema.py
+++ b/lib/sqlalchemy/schema.py
@@ -315,6 +315,11 @@ class Column(SchemaItem, sql._ColumnClause):
type: the TypeEngine for this column.
This can be any subclass of types.AbstractType, including the database-agnostic types defined
in the types module, database-specific types defined within specific database modules, or user-defined types.
+
+ type: the TypeEngine for this column. This can be any subclass of types.AbstractType, including
+ the database-agnostic types defined in the types module, database-specific types defined within
+ specific database modules, or user-defined types. If the column contains a ForeignKey,
+ the type can also be None, in which case the type assigned will be that of the referenced column.
*args: Constraint, ForeignKey, ColumnDefault and Sequence objects should be added as list values.