chore: docstring not match the function parameter (#17162)

This commit is contained in:
非法操作 2025-03-31 13:19:15 +08:00 • committed by GitHub
commit 44f911a0a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 60 additions and 95 deletions

View file

@ -10,11 +10,7 @@ from extensions.ext_mail import mail
@shared_task(queue="mail")
def send_deletion_success_task(to):
"""Send email to user regarding account deletion.
Args:
log (AccountDeletionLog): Account deletion log object
"""
"""Send email to user regarding account deletion."""
if not mail.is_inited():
return

View file

@ -17,8 +17,6 @@ from models.workflow import WorkflowRun
def process_trace_tasks(file_info):
"""
Async process trace tasks
:param tasks_data: List of dictionaries containing task data
Usage: process_trace_tasks.delay(tasks_data)
"""
from core.ops.ops_trace_manager import OpsTraceManager