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

Dynamic imports for custom overrides and SaaS fixtures #2169

Merged

Conversation

galvana
Copy link
Contributor

@galvana galvana commented Jan 9, 2023

Closes #2168

Code Changes

  • Added dynamic imports for custom overrides and SaaS fixtures

Steps to Confirm

  • Ran the SaaS integration tests to verify custom overrides and fixtures are still loaded correctly

Pre-Merge Checklist

@galvana galvana linked an issue Jan 9, 2023 that may be closed by this pull request
@galvana galvana requested a review from adamsachs January 9, 2023 18:18
@galvana galvana added the run unsafe ci checks Runs fides-related CI checks that require sensitive credentials label Jan 9, 2023
@galvana galvana force-pushed the 2168-dynamic-imports-for-saas-request-overrides-and-saas-fixtures branch from 3fdd4f7 to 792f8c4 Compare January 9, 2023 19:00
Copy link
Contributor

@adamsachs adamsachs left a comment

Choose a reason for hiding this comment

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

@galvana this looks good to me, clever dynamic importing within the __init__.py's.

i don't really see a problem with doing this in the fixtures/saas/__init__.py, but is there a specific reason we need to do that now to enable some of your work? mainly just want to avoid quickly changing more than is absolutely necessary, but again, don't really have a specific problem i see with it.

@galvana
Copy link
Contributor Author

galvana commented Jan 9, 2023

Thanks for the review @adamsachs. I updated both the custom overrides module and the SaaS fixtures module because I want to wrap up #1795 before I go on break since AG is close to getting to the point of writing tests for the connectors they've been working on.

@galvana galvana marked this pull request as ready for review January 9, 2023 23:48
@galvana galvana merged commit 63873f3 into main Jan 10, 2023
@galvana galvana deleted the 2168-dynamic-imports-for-saas-request-overrides-and-saas-fixtures branch January 10, 2023 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run unsafe ci checks Runs fides-related CI checks that require sensitive credentials
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic imports for SaaS request overrides and SaaS fixtures
2 participants