mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-04 03:27:04 +08:00
Use 3.9 compat syntax (#164)
This commit is contained in:
parent
a065ada8af
commit
63556900b2
@ -278,7 +278,6 @@ class ApiClient:
|
||||
"headers": headers,
|
||||
}
|
||||
|
||||
|
||||
def get_headers(self) -> Dict[str, str]:
|
||||
"""Get headers for API requests, including authentication if available"""
|
||||
headers = {"Content-Type": "application/json", "Accept": "application/json"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user