1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/py3-avro/py3.11.patch
2022-11-24 06:04:50 +01:00

14 lines
362 B
Diff

diff --git a/avro/compatibility.py b/avro/compatibility.py
index 0ce084a..670fcb2 100644
--- a/avro/compatibility.py
+++ b/avro/compatibility.py
@@ -50,6 +50,9 @@ class SchemaType(str, Enum):
STRING = "string"
UNION = "union"
+ def __str__(self):
+ return self.value
+
class SchemaCompatibilityType(Enum):
compatible = "compatible"