Thanks a lot Mike!
вт, 18 вер. 2018 о 16:07 Mike Bayer пише:
> On Tue, Sep 18, 2018 at 7:07 AM Dmytro Starosud
> wrote:
> >
> > Hello group
> >
> > Please help me with the following. Imagine I have:
> >
> > @event.listens_for(Session, 'before_flush')
> > def one(session, flush_context, instance
On Tue, Sep 18, 2018 at 7:07 AM Dmytro Starosud wrote:
>
> Hello group
>
> Please help me with the following. Imagine I have:
>
> @event.listens_for(Session, 'before_flush')
> def one(session, flush_context, instances):
> pass
>
>
> @event.listens_for(Session, 'before_flush')
> def two(session
Hello group
Please help me with the following. Imagine I have:
@event.listens_for(Session, 'before_flush')
def one(session, flush_context, instances):
pass
@event.listens_for(Session, 'before_flush')
def two(session, flush_context, instances):
pass
I.e. two handlers for the same targe