Skip to content

Commit 11b5b84

Browse files
author
Simon Wahlgren
committed
Add hash func for UnionSchema
1 parent f439c2a commit 11b5b84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

confluent_kafka/avro/load.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ def _hash_func(self):
4343

4444
schema.RecordSchema.__hash__ = _hash_func
4545
schema.PrimitiveSchema.__hash__ = _hash_func
46+
schema.UnionSchema.__hash__ = _hash_func
4647
except ImportError:
4748
schema = None

0 commit comments

Comments
 (0)