from schema_registry.serializers import MessageSerializer
../../.virtualenvs/streaming-deduper/lib/python3.8/site-packages/schema_registry/serializers/__init__.py:4: in <module>
from schema_registry.serializers.faust_serializer import FaustSerializer # noqa
../../.virtualenvs/streaming-deduper/lib/python3.8/site-packages/schema_registry/serializers/faust_serializer.py:14: in <module>
class Serializer(Codec):
E TypeError: NoneType takes no arguments
To Reproduce
Try and import MessageSerializer without having faust installed
Expected behavior
Should be able to import MessageSerializer
Describe the bug If faust is not installed
Codec
is None and this code linked below attempts to inherit from None, which will not work https://github.com/marcosschroh/python-schema-registry-client/blob/master/schema_registry/serializers/faust_serializer.py#L14.To Reproduce Try and import MessageSerializer without having faust installed
Expected behavior Should be able to import MessageSerializer