diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-05-15 15:56:49 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-05-15 15:56:49 -0400 |
commit | 4fe3d83df50bbd9428e330995890f00d55c3cd74 (patch) | |
tree | 19eda5caf9de8638197bed45188e6e40d9a068d7 /lib/sqlalchemy/schema.py | |
parent | 14d523265203d21152411b5f3c18843b09b23554 (diff) | |
download | sqlalchemy-4fe3d83df50bbd9428e330995890f00d55c3cd74.tar.gz |
disclaimer for the "type=None" semi-feature
Diffstat (limited to 'lib/sqlalchemy/schema.py')
-rw-r--r-- | lib/sqlalchemy/schema.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index a2d499f84..6a69739d1 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -493,9 +493,11 @@ class Column(SchemaItem, expression.ColumnClause): The ``type`` argument may be the second positional argument or specified by keyword. - If this column also contains a :class:`ForeignKey`, - the type argument may be left as ``None`` in which case the - type assigned will be that of the referenced column. + There is partial support for automatic detection of the + type based on that of a :class:`ForeignKey` associated + with this column, if the type is specified as ``None``. + However, this feature is not fully implemented and + may not function in all cases. :param \*args: Additional positional arguments include various :class:`SchemaItem` derived constructs which will be applied |