MCPcopy Index your code
hub / github.com/apify/crawlee-python / push_data

Function push_data

tests/unit/storages/test_storage_instance_manager.py:143–146  ·  view source on GitHub ↗
(data: dict)

Source from the content-addressed store, hash-verified

141 barrier = Barrier(2)
142
143 async def push_data(data: dict) -> None:
144 await barrier.wait()
145 dataset = await Dataset.open(name='concurrent-storage')
146 await dataset.push_data(data)
147
148 await asyncio.gather(
149 push_data({'test_1': '1'}),

Callers 1

Calls 2

openMethod · 0.45
push_dataMethod · 0.45

Tested by

no test coverage detected