MCPcopy Create free account
hub / github.com/Freedium-cfd/web / data_generator

Method data_generator

database-lib/database_lib/main.py:229–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227
228 # Use a generator to create batches of test data
229 def data_generator():
230 for i in range(num_rows):
231 yield (f"{uuid.uuid4()}", value)
232
233 # Process data in batches
234 for offset in range(0, num_rows, batch_size):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected