This is an automated email from the ASF dual-hosted git repository.

dweeks 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 7ea2f24b35 Python: Remove unused function (#5296)
7ea2f24b35 is described below

commit 7ea2f24b351cf50878952f17093a6de4b143cdf1
Author: Fokko Driesprong <[email protected]>
AuthorDate: Fri Jul 22 17:15:26 2022 +0200

    Python: Remove unused function (#5296)
    
    Less is more
---
 python/pyiceberg/schema.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/python/pyiceberg/schema.py b/python/pyiceberg/schema.py
index db2aaae35b..ea4f4cf6c0 100644
--- a/python/pyiceberg/schema.py
+++ b/python/pyiceberg/schema.py
@@ -570,10 +570,6 @@ class _BuildPositionAccessors(SchemaVisitor[Dict[Position, 
Accessor]]):
         True
     """
 
-    @staticmethod
-    def _wrap_leaves(result: Dict[Position, Accessor], position: Position = 0) 
-> Dict[Position, Accessor]:
-        return {field_id: Accessor(position, inner=inner) for field_id, inner 
in result.items()}
-
     def schema(self, schema: Schema, struct_result: Dict[Position, Accessor]) 
-> Dict[Position, Accessor]:
         return struct_result
 

Reply via email to