Skip to content

Commit

Permalink
fix: forward arguments through __dataframe__ protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist authored and gforsyth committed Jul 17, 2023
1 parent 603cb6a commit 50f3be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibis/expr/types/relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ class Table(Expr, _FixedTextJupyterMixin):
def __array__(self, dtype=None):
return self.execute().__array__(dtype)

def __dataframe__(self):
return self.to_pyarrow().__dataframe__()
def __dataframe__(self, *args: Any, **kwargs: Any):
return self.to_pyarrow().__dataframe__(*args, **kwargs)

def as_table(self) -> Table:
"""Promote the expression to a table.
Expand Down

0 comments on commit 50f3be9

Please sign in to comment.