-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #587 Change type of category in Mail.add_category from string to Category #595
Issue #587 Change type of category in Mail.add_category from string to Category #595
Conversation
How I can rebuild again without any commit? |
No need to worry about that, we'll take care of it in the code review. Thanks! |
@@ -376,9 +376,9 @@ def categories(self): | |||
return self._categories | |||
|
|||
def add_category(self, category): | |||
"""Add a Category to this Mail. Must be less than 255 characters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was your reason behind this deletion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since Category is a Category type Must be less than 255 characters.
is not suitable.
|
||
:type category: string | ||
:type category: Category |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is correct, thank you for pointing it out!
Codecov Report
@@ Coverage Diff @@
## master #595 +/- ##
=======================================
Coverage 86.61% 86.61%
=======================================
Files 32 32
Lines 979 979
Branches 131 131
=======================================
Hits 848 848
Misses 67 67
Partials 64 64
Continue to review full report at Codecov.
|
Fixes
#587
Checklist
Short description of what this PR does: