Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Edge committed Nov 10, 2024
1 parent d618a1a commit 4f3dfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intelligence_toolkit/generate_mock_data/data_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def generate_data(
required = remainder / records_per_batch
if not required.is_integer():
required += 1
batches = min(parallel_batches, required)
batches = min(parallel_batches, int(required))
sample_records = sample_from_record_array(
current_object_json, primary_record_array, batches
)
Expand Down

0 comments on commit 4f3dfc3

Please sign in to comment.