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

implement enabled actions support in a more extensible manner #4386

Conversation

adamsachs
Copy link
Contributor

Closes n/a

Description Of Changes

A tweak that attempts to address my concerns in #4374 (review)

Code Changes

  • list your code changes here

Steps to Confirm

  • list any manual steps for reviewers to confirm the changes

Pre-Merge Checklist

@adamsachs adamsachs changed the title move template data generation into an instance method to allow for ea… implement enabled actions support in a more extensible manner Nov 4, 2023
@@ -17,3 +18,18 @@ class SaasConnectionTemplateValues(BaseModel):

class Config:
extra = Extra.ignore

def generate_config_data_from_template(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i think pydantic objects must be proper instances that can be accessed this way, right? tbh i'm actually not 100% sure and pydantic can feel a bit 🪄 sometimes, so this is the main assumption that needs to be validated!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

from my initial testing, i think this does work as expected 👍

Copy link

cypress bot commented Nov 4, 2023

Passing run #5021 ↗︎

0 4 0 0 Flakiness 0

Details:

Merge 7e37dc6 into 48f6a77...
Project: fides Commit: 5c6bd4b2f0 ℹ️
Status: Passed Duration: 00:34 💡
Started: Nov 4, 2023 12:52 AM Ended: Nov 4, 2023 12:52 AM

Review all test suite changes for PR #4386 ↗︎

@galvana galvana marked this pull request as ready for review November 6, 2023 17:50
@galvana galvana self-requested a review November 6, 2023 17:50
@galvana galvana merged commit cf45f14 into PROD-1249-configure-enabled-actions Nov 6, 2023
31 of 35 checks passed
@galvana galvana deleted the asachs/enabled-actions-refactor-attempt branch November 6, 2023 17:51
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.

2 participants