]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove redundant deserializer assignment from asyncpg dialect (#13287)
authorHenry Cai <huacong.cai@gmail.com>
Sun, 17 May 2026 20:02:37 +0000 (13:02 -0700)
committerGitHub <noreply@github.com>
Sun, 17 May 2026 20:02:37 +0000 (22:02 +0200)
lib/sqlalchemy/dialects/postgresql/asyncpg.py

index 33aa9a9de925f742e79a4b7e27d1425ebc82ec04..4d3a3ba045cfc262f2b47d92e71fd357bbdd003a 100644 (file)
@@ -1255,7 +1255,6 @@ class PGDialect_asyncpg(PGDialect):
         """
 
         asyncpg_connection = conn._connection
-        deserializer = self._json_deserializer or _py_json.loads
 
         def _jsonb_encoder(str_value):
             # \x01 is the prefix for jsonb used by PostgreSQL.