This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 531b1e9840 Python: Add missing types (#6409)
531b1e9840 is described below
commit 531b1e9840f37b76fa0d5806d4ee3e2d1434c441
Author: Fokko Driesprong <[email protected]>
AuthorDate: Mon Dec 12 11:17:00 2022 +0100
Python: Add missing types (#6409)
---
python/pyiceberg/io/pyarrow.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/pyiceberg/io/pyarrow.py b/python/pyiceberg/io/pyarrow.py
index 1561ccb0e9..f3adfd0f6c 100644
--- a/python/pyiceberg/io/pyarrow.py
+++ b/python/pyiceberg/io/pyarrow.py
@@ -298,10 +298,10 @@ class UuidType(pa.PyExtensionType):
https://arrow.apache.org/docs/python/extending_types.html#defining-extension-types-user-defined-types
"""
- def __init__(self):
+ def __init__(self) -> None:
pa.PyExtensionType.__init__(self, pa.binary(16))
- def __reduce__(self):
+ def __reduce__(self) -> Tuple[pa.PyExtensionType, Tuple[Any, ...]]:
return UuidType, ()