[sqlalchemy] Re: arbitrary information for sa objects

2008-05-05 Thread az
IMvhO: - table / columns are DB-side terms, relations - sqlalchemy.orm.relation() - are not really. They are more ORM. Foreign keys/Constraints are DB-side, yes. But if annotate relations, then mappers should follow... as they talk of mappers and then keys/joins. TO me, keeping the OO

[sqlalchemy] Re: arbitrary information for sa objects

2008-05-05 Thread alex bodnaru
we were talking conceptually, of course :) [EMAIL PROTECTED] wrote: IMvhO: - table / columns are DB-side terms, relations - sqlalchemy.orm.relation() - are not really. They are more ORM. Foreign keys/Constraints are DB-side, yes. But if annotate relations, then mappers should

[sqlalchemy] Re: arbitrary information for sa objects

2008-05-04 Thread Paul Johnston
Hi, http://www.sqlalchemy.org/docs/04/sqlalchemy_schema.html#docstrings_sqlalchemy.schema_Table shows info as a parameter in the kwargs to a table. So it does, so it's tables and columns. The column info setting is in the same page as you sent across, just a bit further up. What other

[sqlalchemy] Re: arbitrary information for sa objects

2008-05-04 Thread alex bodnaru
hi paul, the relations should follow, indeed. thanks again, alex Paul Johnston wrote: Hi, http://www.sqlalchemy.org/docs/04/sqlalchemy_schema.html#docstrings_sqlalchemy.schema_Table shows info as a parameter in the kwargs to a table. So it does, so it's tables and

[sqlalchemy] Re: arbitrary information for sa objects

2008-05-03 Thread alex bodnaru
i read info is such a table option, but i'm not sure it's not deprecating? alex bodnaru wrote: hello friends, however sa stands at the model foundation of an application, i'd be interested to add additional information to some columns/tables/keys. is there a way to insert arbitrary

[sqlalchemy] Re: arbitrary information for sa objects

2008-05-03 Thread Paul Johnston
Alex, The info bucket is available just on columns at the moment, and it is a supported feature. I think we're open to adding it to other types, such as tables, if someone has a requirement. My desire for this was exactly the same as yours - the SA model serving as the authoritative master

[sqlalchemy] Re: arbitrary information for sa objects

2008-05-03 Thread alex bodnaru
hi paul, thanks for your attention. http://www.sqlalchemy.org/docs/04/sqlalchemy_schema.html#docstrings_sqlalchemy.schema_Table shows info as a parameter in the kwargs to a table. it would be great if there were info for other objects too. please point me to the column info setting. best