Skip to content

Fix for skipping resource connections and api changes#354

Merged
michael-richey merged 4 commits intomainfrom
michael.richey/fix-skip-resource-connections
Jul 21, 2025
Merged

Fix for skipping resource connections and api changes#354
michael-richey merged 4 commits intomainfrom
michael.richey/fix-skip-resource-connections

Conversation

@michael-richey
Copy link
Copy Markdown
Collaborator

What does this PR do?

Fixed the logic on --skip-failed-resource-connections. Now when it is set to True it will skip any failed resource connections.
Fixed some resources where the API has changed.

Description of the Change

The big logic change for --skip-failed-resource-connections is in datadog_sync/utils/base_resource.py and it's just switch the logic in an if statement to include not. From there we had to switch the default values to make sure the default behavior remained the same. Also had to change the value of the flag in various tests.

The APIs for monitors, team memberships, and notebooks have all changed and needed updating.

@michael-richey michael-richey requested a review from a team as a code owner July 18, 2025 15:25
@michael-richey michael-richey merged commit c649306 into main Jul 21, 2025
11 checks passed
@michael-richey michael-richey deleted the michael.richey/fix-skip-resource-connections branch July 21, 2025 13:33
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