Re: When to use SQLAlchemy listen events

2022-02-28 Thread Loris Bennett
"Loris Bennett" writes: > Hi, > > I am wondering whether SQLAlchemy listen events are appropriate for the > following situation: > > I have a table containing users and a table for events related to users > > class User(Base): > __tablename__ = "users" > > uid = Column('uid', String

When to use SQLAlchemy listen events

2022-02-25 Thread Loris Bennett
Hi, I am wondering whether SQLAlchemy listen events are appropriate for the following situation: I have a table containing users and a table for events related to users class User(Base): __tablename__ = "users" uid = Column('uid', String(64), primary_key=True) gid = Column('