Skip to content

Commit 3dd0eb6

Browse files
committed
fix(hooks): define chunks variable to fix F821 in data_generator retry path
1 parent dd59d94 commit 3dd0eb6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hooks/python_hooks/data_generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ def execute_sync(
210210
workers = pool._max_workers
211211
chunk_size = count // workers
212212
futures = []
213+
chunks = []
213214
for i in range(workers):
214215
start = i * chunk_size
215216
end = start + chunk_size if i < workers - 1 else count

0 commit comments

Comments
 (0)