From: Vladimir Osokin Date: Thu, 14 Apr 2022 10:49:09 +0000 (+0500) Subject: refactor(enum): removed redundant `EnumDumper.dump` method override X-Git-Tag: 3.1~137^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=539eb4570f14348c59836e9190f3ae97243cb8de;p=thirdparty%2Fpsycopg.git refactor(enum): removed redundant `EnumDumper.dump` method override --- diff --git a/psycopg/psycopg/types/enum.py b/psycopg/psycopg/types/enum.py index 3c3ef79f5..38e15ad3a 100644 --- a/psycopg/psycopg/types/enum.py +++ b/psycopg/psycopg/types/enum.py @@ -42,8 +42,7 @@ class EnumBinaryLoader(EnumLoader[E]): class EnumDumper(StrDumper): - def dump(self, obj: str) -> bytes: - return super().dump(obj) + pass class EnumBinaryDumper(StrBinaryDumper):