Hi

I am trying to parse a schema of the type:

{ "type": { "type": "array", "items": "string"}, "logicalType": "mytype"}

The error is:

TypeError: Unhashable type: 'dict'

and occurs at:

https://github.com/apache/avro/blob/main/lang/py/avro/schema.py#L1223

Here, the 'type' that is a dict is checked if it is inside a key of another
dict. For that it
would need to be hashed, and as it is a dict, that is not possible.

Is this a known bug? Any fixes available?

Thanks

Holger Hoefling

Reply via email to