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

Feature: RDS Snapshot Attributes #7232

Merged
merged 2 commits into from
Jan 20, 2024
Merged

Conversation

JoshLevyMN
Copy link
Contributor

Adds describe_db_snapshot_attributes , modify_db_snapshot_attributes , describe_db_cluster_snapshot_attributes , modify_db_cluster_snapshot_attributes , methods for RDS, as well as adding/fixing the storage_encryted and global_write_forwarding_requested parameters for RDS clusters.

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (e3f60e2) 95.90% compared to head (23f1783) 95.90%.
Report is 5 commits behind head on master.

Files Patch % Lines
moto/rds/models.py 95.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7232   +/-   ##
=======================================
  Coverage   95.90%   95.90%           
=======================================
  Files         840      840           
  Lines       82653    82721   +68     
=======================================
+ Hits        79268    79335   +67     
- Misses       3385     3386    +1     
Flag Coverage Δ
servertests 35.48% <17.64%> (-0.02%) ⬇️
unittests 95.85% <97.05%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for the PR @JoshLevyMN, and welcome to Moto!

@bblommers bblommers added this to the 4.2.14 milestone Jan 20, 2024
@bblommers bblommers merged commit 792956e into getmoto:master Jan 20, 2024
37 checks passed
@moto-payments-app
Copy link

Hi @JoshLevyMN,

Thank you again for contributing to Moto!

To show our thanks, we'd like to share some of the donations that we've received with you. PR's like this are the big reason that Moto is as successful as it is - so it's only fair that you, as a contributor, get to share the spoils.

We've created a companion website with more information:
https://payments.getmoto.org/

Feel free to open a bug or discussion if you run into any problems:
https://github.com/getmoto/payments

Copy link
Contributor

This is now part of moto >= 4.2.14.dev19

bpandola added a commit to bpandola/moto that referenced this pull request Jul 29, 2024
…te values

Original code raises the following at runtime:

TypeError: unsupported operand type(s) for +: 'dict_values' and 'list'

This change coerces both values to `list` to allow the `+` operand to succeed.
It also changes the ordering so that any `values_to_add` are *appended* to the existing values

NOTE: These were the only two lines not covered by tests in getmoto#7232, and they both contained bugs!
bpandola added a commit that referenced this pull request Jul 29, 2024
…te values

Original code raises the following at runtime:

TypeError: unsupported operand type(s) for +: 'dict_values' and 'list'

This change coerces both values to `list` to allow the `+` operand to succeed.
It also changes the ordering so that any `values_to_add` are *appended* to the existing values

NOTE: These were the only two lines not covered by tests in #7232, and they both contained bugs!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants