Skip to content

Commit

Permalink
fix(RequestUtils): 更新 headers 参数类型
Browse files Browse the repository at this point in the history
  • Loading branch information
Akimio521 committed Nov 13, 2024
1 parent 3d15045 commit 7c57d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class RequestUtils:

def __init__(
self,
headers: dict = None,
headers: dict | None = None,
ua: str = None,
cookies: str | dict | None = None,
session: ClientSession = None,
Expand Down

0 comments on commit 7c57d83

Please sign in to comment.