Skip to content

Commit 5011edd

Browse files
committed
Fix KeySerializerError creation
1 parent b2b0286 commit 5011edd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

confluent_kafka/avro/serializer/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def __str__(self):
6161

6262

6363
class KeySerializerError(SerializerError):
64-
pass
64+
def __new__(cls, message):
65+
return super(KeySerializerError, cls).__new__(SerializerError, message, True)
6566

6667

6768
class ValueSerializerError(SerializerError):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy