-
Notifications
You must be signed in to change notification settings - Fork 34
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
pin flask-mail #63
pin flask-mail #63
Conversation
anikachurilova
commented
May 27, 2024
•
edited
Loading
edited
- closes deposit form: share draft invenio-app-rdm#2667
Since there is a breaking change in |
invenio_mail/ext.py
Outdated
@@ -16,7 +16,7 @@ | |||
from . import config | |||
|
|||
|
|||
def print_email(message, app): | |||
def print_email(app, message): |
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.
seeing how flask mail implements it, should it follow their signature?
def print_email(app, message): | |
def print_email(app, message=None): |
EDIT: change to None, mistake when copying
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.
Not sure to understand the suggested change: Flask-Mail will call print_email(app, message=message)
, but we cannot use message=message
in a method definition.
The way this Pull Request is implemented follows the official Signalling support documentation, so it looks fine to me.
4f5f151
to
cdaddfc
Compare
invenio_mail/ext.py
Outdated
@@ -16,7 +16,7 @@ | |||
from . import config | |||
|
|||
|
|||
def print_email(message, app): | |||
def print_email(app, message): |
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.
Not sure to understand the suggested change: Flask-Mail will call print_email(app, message=message)
, but we cannot use message=message
in a method definition.
The way this Pull Request is implemented follows the official Signalling support documentation, so it looks fine to me.
027c488
to
4434cfa
Compare
964e071
to
4f7e41f
Compare
4f7e41f
to
972bbf2
Compare