Skip to content

Bug when getting model from project version #296

@joaomarcoscrs

Description

@joaomarcoscrs

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"))

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions