Skip to content

Commit

Permalink
Delete some del statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailhammounou committed Feb 16, 2024
1 parent 43b1d60 commit 3920ae7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/db2ixf/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ def get_batch(
# Yield the remaining rows as the last batch
if batch:
yield batch
del batch


def merge_dicts(dicts: List[OrderedDict]) -> Dict[str, list]:
Expand Down Expand Up @@ -428,7 +427,6 @@ def pyarrow_record_batches(
yield _record_batch
_arrays = []
_record_batch = None
del _arrays, _record_batch


def decode_cell(cell: str, cp: int, cpt: Literal["s", "d"] = "s"):
Expand Down
1 change: 0 additions & 1 deletion src/db2ixf/ixf.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ def collect_data(self) -> OrderedDict:
)
self.current_row[col_name] = deepcopy(collected_data)
collected_data = None # noqa
del collected_data, collector

self.current_data_record = OrderedDict()
return self.current_row
Expand Down

0 comments on commit 3920ae7

Please sign in to comment.