Closed bchopson closed 3 years ago
https://github.com/level12/webgrid/blob/0.3.7/webgrid/testing.py#L89
testing.query_to_str calls statement.session.get_bind with statement._mapper_zero(), which does not appear to be defined for sqlalchemy 1.4.20 (at least).
testing.query_to_str
statement.session.get_bind
statement._mapper_zero()
Calling statement.session.get_bind with no arguments works for sqlalchemy 1.4.20.
Resolved in the #116 branch, which is now in master.
https://github.com/level12/webgrid/blob/0.3.7/webgrid/testing.py#L89
testing.query_to_str
callsstatement.session.get_bind
withstatement._mapper_zero()
, which does not appear to be defined for sqlalchemy 1.4.20 (at least).Calling
statement.session.get_bind
with no arguments works for sqlalchemy 1.4.20.