]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
disclaimer for the "type=None" semi-feature
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 15 May 2010 19:56:49 +0000 (15:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 15 May 2010 19:56:49 +0000 (15:56 -0400)
lib/sqlalchemy/schema.py

index a2d499f8454527b898e8654a92abe192a2418709..6a69739d1e34978864d647e50550a4cdc2c5456f 100644 (file)
@@ -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