Skip to content

Commit 5e0518c

Browse files
ndrluisFokko
andauthored
Update pyiceberg/schema.py
Co-authored-by: Fokko Driesprong <fokko@apache.org>
1 parent edcc525 commit 5e0518c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyiceberg/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ def as_struct(self) -> StructType:
183183
return StructType(*self.fields)
184184

185185
def as_arrow(self) -> "pa.Schema":
186-
from pyiceberg.io.pyarrow import schema_to_pyarrow
187-
188186
"""Return the schema as an Arrow schema."""
187+
188+
from pyiceberg.io.pyarrow import schema_to_pyarrow
189189
return schema_to_pyarrow(self)
190190

191191
def find_field(self, name_or_id: Union[str, int], case_sensitive: bool = True) -> NestedField:

0 commit comments

Comments
 (0)