When handling large values inside the key-value store, it would be convenient to expose some way to stream them into/out of the store without having to buffer it in memory.
On the javascript side, this is currently mostly supported — KeyValueStore.setValue accepts a stream as value, but to retrieve a value as a stream, you need to call the getRecord method directly on the underlying resource client.
For the eventual Python version, we should probably match the signature of apify-client-python's streamRecord.
Related
When handling large values inside the key-value store, it would be convenient to expose some way to stream them into/out of the store without having to buffer it in memory.
On the javascript side, this is currently mostly supported —
KeyValueStore.setValueaccepts a stream asvalue, but to retrieve a value as a stream, you need to call thegetRecordmethod directly on the underlying resource client.For the eventual Python version, we should probably match the signature of apify-client-python's
streamRecord.Related