diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2023-05-09 17:55:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2023-05-09 17:55:16 +0000 |
commit | cef8adac8ae48c5c6c36138ed0b59067c1ef78ed (patch) | |
tree | 4ec5b5dc56e8bd700baf2d4e5d7b49d2c806802b /lib/sqlalchemy/dialects/postgresql/asyncpg.py | |
parent | 4e3806861b19a00203f95b6ecbe411a4e252d152 (diff) | |
parent | ff821e57c960f095ab2988a0f892b3127374f498 (diff) | |
download | sqlalchemy-cef8adac8ae48c5c6c36138ed0b59067c1ef78ed.tar.gz |
Merge "Ensure float are not implemented as numeric" into main
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/asyncpg.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/asyncpg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/asyncpg.py b/lib/sqlalchemy/dialects/postgresql/asyncpg.py index 3f33600f9..e915e454e 100644 --- a/lib/sqlalchemy/dialects/postgresql/asyncpg.py +++ b/lib/sqlalchemy/dialects/postgresql/asyncpg.py @@ -327,7 +327,7 @@ class AsyncpgNumeric(sqltypes.Numeric): ) -class AsyncpgFloat(AsyncpgNumeric): +class AsyncpgFloat(AsyncpgNumeric, sqltypes.Float): __visit_name__ = "float" render_bind_cast = True |