Skip to content

Commit

Permalink
Remove Unischema __getattr__ implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
v01dXYZ committed Mar 18, 2021
1 parent d6f4e82 commit 320c2f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions petastorm/unischema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 320c2f9

Please sign in to comment.