Skip to content

Commit

Permalink
Revert to old usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Dec 19, 2024
1 parent 9f5616d commit 3d6bb4c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions python/pylibcudf/pylibcudf/interop.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,7 @@ def _table_to_schema(Table tbl, metadata):
if metadata is None:
metadata = [_maybe_create_nested_column_metadata(col) for col in tbl.columns()]
else:
metadata = [
_maybe_create_nested_column_metadata(m)
if isinstance(m, str)
else m
for m in metadata
]
metadata = [ColumnMetadata(m) if isinstance(m, str) else m for m in metadata]

cdef vector[column_metadata] c_metadata
c_metadata.reserve(len(metadata))
Expand Down

0 comments on commit 3d6bb4c

Please sign in to comment.