Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 7bdbbf4

Browse files
committed
Add type annotations to send_email function args
Signed-off-by: joseph-sentry <[email protected]>
1 parent 775491d commit 7bdbbf4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

services/task/task.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,9 @@ def preprocess_upload(self, repoid, commitid, report_code):
368368
),
369369
)
370370

371-
def send_email(self, ownerid, template_name, from_addr, subject, **kwargs):
371+
def send_email(
372+
self, ownerid, template_name: str, from_addr: str, subject: str, **kwargs
373+
):
372374
self._create_signature(
373375
"app.tasks.send_email.SendEmail",
374376
kwargs=dict(

0 commit comments

Comments
 (0)