diff options
author | João Sampaio <jpmelos@gmail.com> | 2021-08-11 11:36:49 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 11:36:49 -0300 |
commit | 9f9e0b87c074ad721cdc97222a7b6c32f8781a64 (patch) | |
tree | d8b9adac080a4aee3176ba7e589346b09438bdb9 /test/dialect/postgresql/test_compiler.py | |
parent | 70a33dd32f2609f2de6421c3b28ef4cc4496fdae (diff) | |
download | sqlalchemy-9f9e0b87c074ad721cdc97222a7b6c32f8781a64.tar.gz |
Fix example with deprecated code
Just a few lines above, it is said that creating a mapping with `mapper()` is deprecated in favor of `mapper_registry.map_imperatively()`. This PR fixes an example in the documentation that still uses the old function.
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
0 files changed, 0 insertions, 0 deletions