Skip to content

Commit 1d6dad1

Browse files
committed
refactor: reformated
1 parent e605971 commit 1d6dad1

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

pyiceberg/table/__init__.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,20 +1799,16 @@ def projection(self) -> Schema:
17991799
return current_schema.select(*self.selected_fields, case_sensitive=self.case_sensitive)
18001800

18011801
@abstractmethod
1802-
def plan_files(self) -> Iterable[ScanTask]:
1803-
...
1802+
def plan_files(self) -> Iterable[ScanTask]: ...
18041803

18051804
@abstractmethod
1806-
def to_arrow(self) -> pa.Table:
1807-
...
1805+
def to_arrow(self) -> pa.Table: ...
18081806

18091807
@abstractmethod
1810-
def to_pandas(self, **kwargs: Any) -> pd.DataFrame:
1811-
...
1808+
def to_pandas(self, **kwargs: Any) -> pd.DataFrame: ...
18121809

18131810
@abstractmethod
1814-
def to_polars(self) -> pl.DataFrame:
1815-
...
1811+
def to_polars(self) -> pl.DataFrame: ...
18161812

18171813
def update(self: S, **overrides: Any) -> S:
18181814
"""Create a copy of this table scan with updated fields."""
@@ -1845,8 +1841,7 @@ def with_case_sensitive(self: S, case_sensitive: bool = True) -> S:
18451841
return self.update(case_sensitive=case_sensitive)
18461842

18471843
@abstractmethod
1848-
def count(self) -> int:
1849-
...
1844+
def count(self) -> int: ...
18501845

18511846

18521847
class ScanTask:

0 commit comments

Comments
 (0)