Skip to content
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

242 allow optional fields in verified notifications #242

Merged
merged 2 commits into from Apr 2, 2022

Conversation

mlissner
Copy link
Contributor

@mlissner mlissner commented Apr 1, 2022

This is a small PR, maybe 15 lines or so, that reverts one of the changes I made in #239. In that PR, I took a risk by replacing a dict.get() with a key lookup instead (dict[some-key]). Well, sure enough there are indeed notifications that lack certain fields, so, fine, we'll use a get(), like we did before.

Also bumps the version, so should be easy to deploy with a tagged commit.

Sorry for the churn. Hopefully this will be it.

Copy link
Contributor

@pcraciunoiu pcraciunoiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and will merge since it could cause issues if anyone upgrades. Feel free to follow up with the small feedback

CHANGES.md Show resolved Hide resolved
django_ses/utils.py Show resolved Hide resolved
tests/test_verifier.py Show resolved Hide resolved
tests/test_verifier.py Show resolved Hide resolved
@pcraciunoiu pcraciunoiu merged commit ede4756 into django-ses:master Apr 2, 2022
@pcraciunoiu
Copy link
Contributor

@pcraciunoiu
Copy link
Contributor

Thank you for the fast-follow!

@mlissner mlissner deleted the 242-allow-optional-fields branch April 2, 2022 03:05
@mlissner mlissner mentioned this pull request Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants