You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/11/14 09:27:37 UTC
[avro] 01/01: AVRO-3667: [Python] Python 3.10 CI test fails since a while
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch avro-3667-fix-python-type-checks
in repository https://gitbox.apache.org/repos/asf/avro.git
commit 4ae07a5f4fd01b85951648f6b1ecb919a8ea1826
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Mon Nov 14 11:27:08 2022 +0200
AVRO-3667: [Python] Python 3.10 CI test fails since a while
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
lang/py/avro/compatibility.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/py/avro/compatibility.py b/lang/py/avro/compatibility.py
index 0ce084ae6..9aefc0075 100644
--- a/lang/py/avro/compatibility.py
+++ b/lang/py/avro/compatibility.py
@@ -82,7 +82,7 @@ class SchemaCompatibilityResult:
def __init__(
self,
compatibility: SchemaCompatibilityType = SchemaCompatibilityType.recursion_in_progress,
- incompatibilities: List[SchemaIncompatibilityType] = None,
+ incompatibilities: Optional[List[SchemaIncompatibilityType]] = None,
messages: Optional[Set[str]] = None,
locations: Optional[Set[str]] = None,
):