RUF013 compatibility

This commit is contained in:
awsr
2026-03-20 18:42:44 -07:00
parent 783f20b5d7
commit 8e10ec3fec
21 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ def auth():
return None
def post(endpoint: str, payload: dict = None):
def post(endpoint: str, payload: dict | None = None):
if 'sdapi' not in endpoint:
endpoint = f'sdapi/v1/{endpoint}'
if 'http' not in endpoint: