Add send email task to task service#152
Conversation
Codecov Report
@@ Coverage Diff @@
## main #152 +/- ##
=======================================
- Coverage 95.47 95.46 -0.01
=======================================
Files 714 714
Lines 15312 15314 +2
=======================================
+ Hits 14618 14619 +1
- Misses 694 695 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention:
📢 Thoughts on this report? Let us know!. |
Codecov Report
@@ Coverage Diff @@
## main #152 +/- ##
==========================================
- Coverage 95.56% 95.56% -0.01%
==========================================
Files 599 599
Lines 14911 14913 +2
==========================================
+ Hits 14250 14251 +1
- Misses 661 662 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
| ), | ||
| ).apply_async() | ||
|
|
||
| def send_email(self, ownerid, template_name, from_addr, subject, **kwargs): |
There was a problem hiding this comment.
Some type annotations might be nice here
67f938d to
95b5cca
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #152 +/- ##
==========================================
- Coverage 95.56% 95.56% -0.01%
==========================================
Files 599 599
Lines 14911 14913 +2
==========================================
+ Hits 14250 14251 +1
- Misses 661 662 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: joseph-sentry <[email protected]>
Signed-off-by: joseph-sentry <[email protected]>
99f9910 to
7bdbbf4
Compare
* Add send email task to task service * Add type annotations to send_email function args Signed-off-by: joseph-sentry <[email protected]>
* Add send email task to task service * Add type annotations to send_email function args Signed-off-by: joseph-sentry <[email protected]>
Purpose/Motivation
The API should be able to enqueue a task to send an email to a user.
Links to relevant tickets
Fixes: codecov/engineering-team#158
What does this PR do?
entry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.