flask-sqlalchemy icon indicating copy to clipboard operation
flask-sqlalchemy copied to clipboard

Fix bind reflection

Open subnix opened this issue 3 years ago • 0 comments

Reflection is broken in extra binds, because of bind_key is not set for reflected tables. Also sqlalchemy>=0.9.2 is required. So fix may be backported to 2.x branch if we can drop support for older versions.

  • fixes #660

Checklist:

  • [x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • [x] Add or update relevant docs, in the docs folder and in code.
  • [x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
  • [x] Add .. versionchanged:: entries in any relevant code docs.
  • [x] Run pre-commit hooks and fix any issues.
  • [x] Run pytest and tox, no tests failed.

subnix avatar May 16 '22 12:05 subnix