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
commit d8000251ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: