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 1526757e92 Python: Fix StructWriter `__repr__` to indicate it is a 
writer (#8105)
1526757e92 is described below

commit 1526757e92c2d64c39ca3826593605ad10575e70
Author: Rusty Conover <[email protected]>
AuthorDate: Sun Jul 23 03:10:10 2023 -0400

    Python: Fix StructWriter `__repr__` to indicate it is a writer (#8105)
---
 python/pyiceberg/avro/writer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyiceberg/avro/writer.py b/python/pyiceberg/avro/writer.py
index 10a589715d..086b1a9555 100644
--- a/python/pyiceberg/avro/writer.py
+++ b/python/pyiceberg/avro/writer.py
@@ -176,7 +176,7 @@ class StructWriter(Writer):
 
     def __repr__(self) -> str:
         """Returns string representation of this object."""
-        return f"StructReader({','.join(repr(field) for field in 
self.field_writers)})"
+        return f"StructWriter({','.join(repr(field) for field in 
self.field_writers)})"
 
     def __hash__(self) -> int:
         """Returns the hash of the writer as hash of this object."""

Reply via email to