merlimat commented on code in PR #90:
URL: 
https://github.com/apache/pulsar-client-python/pull/90#discussion_r1093481989


##########
pulsar/schema/schema_avro.py:
##########
@@ -82,15 +82,6 @@ def decode(self, data):
                 return self._record_cls(**d)
             else:
                 return d
-
 else:
-    class AvroSchema(Schema):
-        def __init__(self, _record_cls, _schema_definition=None):
-            raise Exception("Avro library support was not found. Make sure to 
install Pulsar client " +
+    raise Exception("Avro library support was not found. Make sure to install 
Pulsar client " +

Review Comment:
   Wouldn't this fail even if one is not trying to use Avro schema?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to