Skip to content

Commit

Permalink
fix(client): remove sibling setting in client (#2300)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao authored Apr 11, 2021
1 parent 605c090 commit 103bf2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions jina/clients/request/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion jina/clients/request/asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 103bf2f

Please sign in to comment.