date: Sat May 15 15:56:49 2010 -0400
disclaimer for the "type=None" semi-feature
lib/sqlalchemy/schema.py | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r cf16d1e00f43 -r 47ba31347a02 lib/sqlalchemy/schema.py
--- a/lib/sqlalchemy/schema.py Thu May 13 15:53:18 2010 -0400
+++ b/lib/sqlalchemy/schema.py Sat May 15 15:56:49 2010 -0400
@@ -493,9 +493,11 @@
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
Get latest updates about Open Source Projects, Conferences and News.