jina.clients.request.asyncio module
async jina.clients.request.asyncio.request_generator(exec_endpoint, data, request_size=0, data_type=DataInputType.AUTO, target_executor=None, parameters=None, \*kwargs*)[source]
An async .
Parameters
exec_endpoint () – the endpoint string, by convention starts with /
request_size (
int
) – the number of Documents per requestdata_type (DataInputType) – if
data
is an iterator over self-contained document, i.e. ; or an iterator over possible Document content (set to text, blob and buffer).target_executor ([
str
]) – a regex string. Only matching Executors will process the request.
Yield
request
Return type
AsyncIterator
[]