From 103bf2f55acbd74c3f3eab11013e69b8566d8d68 Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Sun, 11 Apr 2021 16:49:29 +0800 Subject: [PATCH] fix(client): remove sibling setting in client (#2300) --- jina/clients/request/__init__.py | 4 +--- jina/clients/request/asyncio.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/jina/clients/request/__init__.py b/jina/clients/request/__init__.py index 112715a37455b..e6a93f65b15dc 100644 --- a/jina/clients/request/__init__.py +++ b/jina/clients/request/__init__.py @@ -49,9 +49,7 @@ def request_generator( :yield: request """ - _kwargs = dict( - mime_type=mime_type, siblings=request_size, weight=1.0, extra_kwargs=kwargs - ) + _kwargs = dict(mime_type=mime_type, weight=1.0, extra_kwargs=kwargs) try: if not isinstance(data, Iterable): diff --git a/jina/clients/request/asyncio.py b/jina/clients/request/asyncio.py index 0c88d6245c1d2..0f97c884d9875 100644 --- a/jina/clients/request/asyncio.py +++ b/jina/clients/request/asyncio.py @@ -36,7 +36,7 @@ async def request_generator( :param kwargs: additional key word arguments :yield: request """ - _kwargs = dict(mime_type=mime_type, siblings=request_size, weight=1.0) + _kwargs = dict(mime_type=mime_type, weight=1.0) try: with ImportExtensions(required=True):