From 320c2f9742d1aeb5af0dfaf0989fdccd89ae5e1d Mon Sep 17 00:00:00 2001 From: v01dxyz Date: Thu, 18 Mar 2021 11:23:53 +0000 Subject: [PATCH] Remove Unischema __getattr__ implementation --- petastorm/unischema.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/petastorm/unischema.py b/petastorm/unischema.py index 9c2902407..c2d5d97fe 100644 --- a/petastorm/unischema.py +++ b/petastorm/unischema.py @@ -352,9 +352,6 @@ def from_arrow_schema(cls, parquet_dataset, omit_unsupported_fields=False): unischema_fields.append(UnischemaField(column_name, np_type, field_shape, None, arrow_field.nullable)) return Unischema('inferred_schema', unischema_fields) - def __getattr__(self, item) -> Any: - return super().__getattribute__(item) - def dict_to_spark_row(unischema, row_dict): """Converts a single row into a spark Row object.