From: Mike Bayer Date: Sat, 15 May 2010 19:56:49 +0000 (-0400) Subject: disclaimer for the "type=None" semi-feature X-Git-Tag: rel_0_6_1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fe3d83df50bbd9428e330995890f00d55c3cd74;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git disclaimer for the "type=None" semi-feature --- diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index a2d499f845..6a69739d1e 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