forked from pool/python-avro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-avro?expand=0&rev=28
15 lines
407 B
Diff
15 lines
407 B
Diff
Index: avro-1.11.1/avro/compatibility.py
|
|
===================================================================
|
|
--- avro-1.11.1.orig/avro/compatibility.py
|
|
+++ avro-1.11.1/avro/compatibility.py
|
|
@@ -49,6 +49,9 @@ class SchemaType(str, Enum):
|
|
STRING = "string"
|
|
UNION = "union"
|
|
|
|
+ def __str__(self):
|
|
+ return self.value
|
|
+
|
|
|
|
class SchemaCompatibilityType(Enum):
|
|
compatible = "compatible"
|