On Aug 22, 2006, at 2:05 PM, Alan Franzoni wrote:
oh i see, you mean that saying x.user_id=10 would raise an error regardless. or even better, it creates the attributes as the standard python "_classname__attrname"...thats a little more interesting. also is not very difficult to implement, it just involves adding an option to ColumnProperty in sqlalchemy/orm/properties.py. I dont think id want that as the default though....theres no issue with users manipulating the foreign key attributes on objects, its just that the settings dont interact with the object model in real time. do you think many people would be interested in that feature ? since it doesnt really give you any more capabilities, it just adds a slight amount of privacy to the model's internals.
|
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users