E
Size: a a a
E
A
T
E
T
A
E
A
session.new
и используешь ее не по назначению.T
A
after_flush_postexec()
The Session.new, Session.dirty and Session.deleted collections are normally completely empty here.
T
E
E
T
E
A
E
A
A
A
autoflush – When True, all query operations will issue a Session.flush() call to this Session before proceeding. This is a convenience feature so that Session.flush() need not be called repeatedly in order for database queries to retrieve results. It’s typical that autoflush is used in conjunction with autocommit=False. In this scenario, explicit calls to Session.flush() are rarely needed; you usually only need to call Session.commit() (which flushes) to finalize changes.