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

Bug when getting model from project version #296

Open
joaomarcoscrs opened this issue Jul 23, 2024 · 1 comment
Open

Bug when getting model from project version #296

joaomarcoscrs opened this issue Jul 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joaomarcoscrs
Copy link
Contributor

For some projects versions, the model is being None when it should not be.

This happens because the API may return a single 'model' key, not always 'models' on the check below

has_model = bool(version_info.get("models"))

@joaomarcoscrs joaomarcoscrs added the bug Something isn't working label Jul 23, 2024
@joaomarcoscrs joaomarcoscrs self-assigned this Jul 23, 2024
@iurisilvio
Copy link
Contributor

It was a recent change. Ref #276.

cc @stellasphere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants