Skip to content

Commit 33b6c81

Browse files
committed
fix mypy error
1 parent bcaed82 commit 33b6c81

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/together/abstract/api_requestor.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -587,16 +587,14 @@ async def arequest_raw(
587587
)
588588
headers["Content-Type"] = content_type
589589

590-
request_kwargs = {
591-
"headers": headers,
592-
"data": data,
593-
"timeout": timeout,
594-
"allow_redirects": options.allow_redirects,
595-
}
596-
597590
try:
598591
result = await session.request(
599-
method=options.method, url=abs_url, **request_kwargs
592+
method=options.method,
593+
url=abs_url,
594+
headers=headers,
595+
data=data,
596+
timeout=timeout,
597+
allow_redirects=options.allow_redirects,
600598
)
601599
utils.log_debug(
602600
"Together API response",

0 commit comments

Comments
 (0)