Skip to content

Commit f4358f7

Browse files
author
v01dxyz
committed
Remove Unischema __getattr__ implementation
1 parent d6f4e82 commit f4358f7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: petastorm/unischema.py

-3
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,6 @@ def from_arrow_schema(cls, parquet_dataset, omit_unsupported_fields=False):
352352
unischema_fields.append(UnischemaField(column_name, np_type, field_shape, None, arrow_field.nullable))
353353
return Unischema('inferred_schema', unischema_fields)
354354

355-
def __getattr__(self, item) -> Any:
356-
return super().__getattribute__(item)
357-
358355

359356
def dict_to_spark_row(unischema, row_dict):
360357
"""Converts a single row into a spark Row object.

0 commit comments

Comments
 (0)