-
Notifications
You must be signed in to change notification settings - Fork 32
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
datamodel parameter dictionary being mishandled #563
Comments
Tried to reproduce this but was not able to, and the lines that fail doesn't seem to be in master. What branch does this happen in? |
This is in the |
Ok, was able to reproduce. I added PR #570 to try to fix this. Basically the problem is that in Python 3.6+ (or maybe only 3.7+, not sure) A few caveats:
|
Moving my comment here and expanding on your points. The code might not be working as intended. In theory, the As for the I switched the datamodel to make one remote call to grab all available query parameters for all data releases rather than doing 6 different API calls, which adds to a person's rate limit. This happens when the query datamodel is initialized. |
That sounds good to me. I'd vote to have the scatter import moved inside the code to avoid it being triggered until needed. It seems reasonably clean and simple. |
Describe the bug
Bug appears when attempting to load a remote DR15 maps. Initializing and loading datamodel query parameters makes API calls for every release.
To Reproduce
2.3.0dev
Expected behavior
The datamodel should populate the available parameters cleanly.
The text was updated successfully, but these errors were encountered: