Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
r3stl355 authored and rtyler committed Nov 4, 2023
1 parent cc4bc8f commit bcd3e0d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/deltalake/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,18 +840,14 @@ def repair(self, dry_run: bool = False) -> Dict[str, Any]:
The metrics from repair (FSCK) action.
Examples:
```
from deltalake import DeltaTable
dt = DeltaTable('TEST')
dt.repair(dry_run=False)
```
Results in
```
{'dry_run': False,
'files_removed': ['6-0d084325-6885-4847-b008-82c1cf30674c-0.parquet',
'5-4fba1d3e-3e20-4de1-933d-a8e13ac59f53-0.parquet']}
{'dry_run': False, 'files_removed': ['6-0d084325-6885-4847-b008-82c1cf30674c-0.parquet', 5-4fba1d3e-3e20-4de1-933d-a8e13ac59f53-0.parquet']}
```
"""
metrics = self._table.repair(dry_run)
Expand Down

0 comments on commit bcd3e0d

Please sign in to comment.