Skip to content

Commit

Permalink
fix(HTTPClient): 移除无用的 async 关键字
Browse files Browse the repository at this point in the history
  • Loading branch information
Akimio521 committed Nov 17, 2024
1 parent 1015fc3 commit d5decd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/utils/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
class HTTPClient:
"""
HTTP 客户端类
"""

# 最小流式下载文件大小,128MB
Expand Down Expand Up @@ -204,7 +203,7 @@ def post(
self, url: str, *, sync: Literal[False], **kwargs
) -> Coroutine[Any, Any, Response]: ...

async def post(
def post(
self,
url: str,
*,
Expand Down

0 comments on commit d5decd7

Please sign in to comment.