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

fix(data-classes): fix SES date field typing and add missing fields #1045

Merged
merged 18 commits into from
Apr 28, 2022

Conversation

michaelbrewer
Copy link
Contributor

@michaelbrewer michaelbrewer commented Feb 27, 2022

Issue #, if available:

Description of changes:

Changes:

  • Fix date typing to be a str and not List[str]
  • Add missing fields from SESMailCommonHeaders (bcc, cc, sender and replyTo)
  • Add missing dkimVerdict field
  • Add missing dmarcPolicy field
  • Add missing topicArn field
  • Add missing docs for SESReceiptStatus status field

Checklist

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Changes:
- Fix date type to be a str and not List[str]
- Add missing fields from SESMailCommonHeaders (bcc, cc, sender and replyTo)
- Add missing dkimVerdict field
- Add missing dmarcPolicy field
- Add missing topicArn field
- Add missing docs for SESReceiptStatus status field

related aws-powertools#1025
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 27, 2022
@github-actions github-actions bot added the bug Something isn't working label Feb 27, 2022
@codecov-commenter
Copy link

codecov-commenter commented Feb 27, 2022

Codecov Report

Merging #1045 (7e2eab3) into develop (8aa9251) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #1045   +/-   ##
========================================
  Coverage    99.96%   99.96%           
========================================
  Files          119      119           
  Lines         5378     5399   +21     
  Branches       613      613           
========================================
+ Hits          5376     5397   +21     
  Partials         2        2           
Impacted Files Coverage Δ
...bda_powertools/utilities/data_classes/ses_event.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8aa9251...7e2eab3. Read the comment docs.

@michaelbrewer michaelbrewer changed the title fix(data-classes): Add missing SES fields and fix(data-classes): Add missing SES fields and fix typing Feb 27, 2022
@michaelbrewer michaelbrewer changed the title fix(data-classes): Add missing SES fields and fix typing fix(data-classes): Add missing SES fields and date field fix typing Mar 8, 2022
@michaelbrewer michaelbrewer changed the title fix(data-classes): Add missing SES fields and date field fix typing fix(data-classes): fix SES date field typing and add missing fields Apr 2, 2022
@sthulb
Copy link
Contributor

sthulb commented Apr 28, 2022

As far as I can see, the fields are correct with what's in the event at generation time

@sthulb sthulb merged commit 11c55b9 into aws-powertools:develop Apr 28, 2022
@michaelbrewer michaelbrewer deleted the fix-1025-v2 branch April 28, 2022 16:30
heitorlessa added a commit to ran-isenberg/aws-lambda-powertools-python that referenced this pull request May 18, 2022
* develop: (33 commits)
  fix(docs): remove Slack link (aws-powertools#1210)
  docs(roadmap): add new roadmap section (aws-powertools#1204)
  fix(batch): missing space in BatchProcessingError message (aws-powertools#1201)
  fix(batch): docstring fix for success_handler() record parameter (aws-powertools#1202)
  chore(deps): bump email-validator from 1.1.3 to 1.2.1 (aws-powertools#1199)
  docs(layer): upgrade to 1.25.10
  chore: include regression in changelog
  chore: bump to 1.25.10
  feat(parameters): add clear_cache method for providers (aws-powertools#1194)
  chore(ci): changelog pre-generation to fetch tags from origin
  revert(parser): Add missing fields for SESEvent (aws-powertools#1027) (aws-powertools#1190)
  fix(parser): Add missing fields for SESEvent (aws-powertools#1027)
  fix(data-classes): Add missing SES fields and (aws-powertools#1045)
  fix(event_handler): exception_handler to handle ServiceError exceptions (aws-powertools#1160)
  chore(deps-dev): bump flake8-bugbear from 22.1.11 to 22.4.25 (aws-powertools#1156)
  chore(deps-dev): bump mypy from 0.942 to 0.950 (aws-powertools#1162)
  chore(deps-dev): bump flake8-eradicate from 1.2.0 to 1.2.1 (aws-powertools#1158)
  chore(deps): bump github/codeql-action from 1 to 2 (aws-powertools#1154)
  chore(ci): post release on tagged issues too
  fix(event_handler): Allow for event_source support (aws-powertools#1159)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants