Skip to content

Commit 9964b7f

Browse files
committed
fix ordering
1 parent c82d617 commit 9964b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/datafusion/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ def __repr__(self) -> str:
172172
"""Print a string representation of the table."""
173173
return repr(self._inner)
174174

175-
@deprecated("Use Table() constructor instead.")
176175
@staticmethod
176+
@deprecated("Use Table() constructor instead.")
177177
def from_dataset(dataset: pa.dataset.Dataset) -> Table:
178178
"""Turn a :mod:`pyarrow.dataset` ``Dataset`` into a :class:`Table`."""
179179
return Table(dataset)

0 commit comments

Comments
 (0)