Skip to content

Commit 320c2f9

Browse files
committed
Remove Unischema __getattr__ implementation
1 parent d6f4e82 commit 320c2f9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

petastorm/unischema.py

Lines changed: 0 additions & 3 deletions
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)