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: Add update method #40

Merged
merged 2 commits into from
Dec 12, 2023
Merged

Feature: Add update method #40

merged 2 commits into from
Dec 12, 2023

Conversation

mamullen13316
Copy link
Collaborator

Adds a generic update method for making changes to existing objects. Updating in many cases seems to require sending the full set of object parameters in addition to those being updated, so the update() method first does a get_tag_with_filter to get the existing object. It then replaces any keys in the existing object with the update_params dictionary that is specified as an argument. Then it converts the update_params dictionary to XML and inserts it in an XML payload with the update set operation.

@mamullen13316 mamullen13316 merged commit 5a81f0b into main Dec 12, 2023
2 of 6 checks passed
@mamullen13316 mamullen13316 deleted the feat_update branch December 12, 2023 17:20
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.

1 participant