Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Undo type:ignore: legitimate SA2.0 error (see note)
In 2.0 the type of result is ChunkedIteratorResult, which does not have `rowcount` attribute. In 1.4, it's LegacyCursorResult, which DOES have a rowcount. HOWEVER, as per SA docs: "Statements that use RETURNING may not return a correct rowcount." https://docs.sqlalchemy.org/en/20/core/connections.html#sqlalchemy.engine.CursorResult.rowcount So, this whole code block needs to be redone.
- Loading branch information