◐ Shell
clean mode source ↗

Fix/sqlalchemy 2.0 compatibility - chapter6 UoW by rickywesker · Pull Request #110 · cosmicpython/code

and others added 30 commits

February 23, 2021 16:15

hjwp and others added 24 commits

February 24, 2021 10:03
- Replace deprecated mapper() with registry.map_imperatively()
- Replace session.query() with session.scalars(select())
- Wrap raw SQL strings with text()
- Replace clear_mappers() with mapper_registry.dispose()
- Update requirements.txt to require sqlalchemy>=2.0

Copilot AI review requested due to automatic review settings

January 13, 2026 09:00

@rickywesker rickywesker changed the title Fix/sqlalchemy 2.0 compatibility - chapter5 UoW Fix/sqlalchemy 2.0 compatibility - chapter6 UoW

Jan 13, 2026