Skip to content

Commit 6f7532f

Browse files
committed
fix: add kwargs to post
1 parent 117fd67 commit 6f7532f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docarray/array/mixins/post.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def post(
1313
show_progress: bool = False,
1414
batch_size: Optional[int] = None,
1515
parameters: Optional[Dict] = None,
16+
**kwargs,
1617
) -> 'DocumentArray':
1718
"""Posting itself to a remote Flow/Sandbox and get the modified DocumentArray back
1819
@@ -66,6 +67,7 @@ def post(
6667
show_progress=show_progress,
6768
request_size=batch_size,
6869
parameters=parameters,
70+
**kwargs,
6971
)
7072
elif _scheme in ('grpc', 'http', 'ws', 'websocket'):
7173
from jina import Client

0 commit comments

Comments
 (0)