mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
remove bare list, dict, Sequence, None, Any (#25058)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
@ -11,7 +11,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@shared_task(queue="mail")
|
||||
def send_deletion_success_task(to: str, language: str = "en-US") -> None:
|
||||
def send_deletion_success_task(to: str, language: str = "en-US"):
|
||||
"""
|
||||
Send account deletion success email with internationalization support.
|
||||
|
||||
@ -46,7 +46,7 @@ def send_deletion_success_task(to: str, language: str = "en-US") -> None:
|
||||
|
||||
|
||||
@shared_task(queue="mail")
|
||||
def send_account_deletion_verification_code(to: str, code: str, language: str = "en-US") -> None:
|
||||
def send_account_deletion_verification_code(to: str, code: str, language: str = "en-US"):
|
||||
"""
|
||||
Send account deletion verification code email with internationalization support.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user