On 01/12/2015 10:10, Simon King wrote:
On Tue, Dec 1, 2015 at 8:17 AM, Chris Withers <ch...@simplistix.co.uk
<mailto:ch...@simplistix.co.uk>> wrote:
Hi All,
Where can I find documentation on the parameters taken by
event.listen?
I have some listeners on instrument_class that pass
propagate=True, but I can't find docs on what that means?
I think the parameters depend on the type of event that you are
listening for. "propagate" is a valid parameter for various
ORM-related events:
http://docs.sqlalchemy.org/en/rel_1_0/orm/events.html
Ah, that's what I was looking for thanks.
- one that fires on all table creation that uses a mixin, so that
I can register the created stored procedure as a trigger.
I feel like I'm looking for after_create event but with propagate=True,
but that doesn't appear to exist.
Can listeners attach more listeners?
I feel like I want an instrument_class with propagate=True that adds a
listener for after_create for each use of the mixin.
How would I go about doing that?
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.