chore: apply static type checks on celery async task dispatches and imports (#24418)

This commit is contained in:
Bowen Liang
2025-08-24 23:07:22 +08:00
committed by GitHub
parent b5159d8c8a
commit d8000251ff
48 changed files with 101 additions and 75 deletions

View File

@@ -63,7 +63,7 @@ class WebAppAuthService:
@classmethod
def send_email_code_login_email(
cls, account: Optional[Account] = None, email: Optional[str] = None, language: Optional[str] = "en-US"
cls, account: Optional[Account] = None, email: Optional[str] = None, language: str = "en-US"
):
email = account.email if account else email
if email is None: