Re: [sqlalchemy] implementation of periodic task or time triggered update

2011-11-30 Thread Tate Kim
Thank you for the answer. I think I need to find another way. -Original Message- From: Michael Bayer mike...@zzzcomputing.com Sender: sqlalchemy@googlegroups.com Date: Tue, 29 Nov 2011 11:40:20 To: sqlalchemy@googlegroups.com Reply-To: sqlalchemy@googlegroups.com Subject: Re:

[sqlalchemy] Re: How to revert all changes on an object before Session.merge(o, load=False) ?

2011-11-30 Thread Ɓukasz Czuja
Hi again, Just wanted to sum up. The solution that I was looking for was to operate on a detached state objects, without any transaction present (re-re-read the docs today). Now I just simply do: 1. fetch selected objects from database 2. Session.remove() (one could use expunge_all() instead to

[sqlalchemy] SqlAlchemy 0.6.8 Initiatior in AttributeExtension

2011-11-30 Thread Hector Blanco
Hello everyone! I am using (yeah, still) SqlAlchemy 0.6.8 and I'm using an AttributeExtension to build permissions of users. My users get the permissions depending on the UserGroup they're in. The user has the typical relationship towards UserGroup. My classes: --

[sqlalchemy] bug in reflection.py sqla 0.7.3

2011-11-30 Thread Robert Forkel
Hi, trying to use Inspector.get_table_names with order_by='foreign_key' causes the following exception: Traceback (most recent call last): File db_inspector.py, line 20, in module for table in insp.get_table_names(schema=schema, order_by='foreign_key'): File