Skip to content

Commit

Permalink
chore: revert dropping of slots
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 26, 2024
1 parent 78a9462 commit 8af5df7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ibis/formats/pyarrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ class PyArrowDatasetProxy(TableProxy):
If you would like to materialize this dataset, please construct the memtable
directly by running `ibis.memtable(my_dataset.to_table())`."""

__slots__ = ("obj",)

def __init__(self, obj: ds.Dataset):
self.obj = obj

# pyarrow datasets are hashable, so we override the hash from TableProxy
def __hash__(self):
return hash(self.obj)
Expand Down

0 comments on commit 8af5df7

Please sign in to comment.