Even if String-type needs length as first argument, column(String,
length=20) throw's an execption when defining columns on ActiveMapper
class User(ActiveMapper):
class mapping:
username = column(String, length=20)
Exception:
File "build/bdist.darwin-8.7.0-Power_Macintosh/egg/sqlalchemy/
schema.py", line 341, in __init__
sqlalchemy.exceptions.ArgumentError: Unknown arguments passed to
Column: ['length']
This also blocks implementing recently discussed validations to
columns, because they would need some extra keyword arguments for sure.
With kind regards,
Joona Kulmala
--
Joona Kulmala <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users