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

Refactor to make mapping url explicit and eliminate LookupLoader #703

Merged
merged 7 commits into from
Sep 15, 2024

Conversation

maresb
Copy link
Contributor

@maresb maresb commented Sep 15, 2024

Description

Previously, tests could fail because some tests would change the global state of the mapping URL. I changed this to an explicit argument so that we could eliminate the global state and the _LookupLoader class.

I also made mapping_url a required variable (no default). I did this mainly to ensure that all the wires are connected. This could be mildly annoying since it has an obvious default value. We can address this in a future PR, but for now I think explicit is better.

@maresb maresb requested a review from a team as a code owner September 15, 2024 15:38
Copy link

netlify bot commented Sep 15, 2024

Deploy Preview for conda-lock ready!

Name Link
🔨 Latest commit a828961
🔍 Latest deploy log https://app.netlify.com/sites/conda-lock/deploys/66e6ff71ac98ab000880f80f
😎 Deploy Preview https://deploy-preview-703--conda-lock.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@maresb maresb merged commit d32ef0b into conda:main Sep 15, 2024
43 checks passed
@maresb maresb deleted the make-mapping-url-explicit branch September 15, 2024 15:47
@maresb maresb mentioned this pull request Sep 15, 2024
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