Bug when getting model from project version

Open
#296 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@joaomarcoscrs is already working on this.

Since Jul 23, 2024.

Assessment

This issue has not been assessed yet.

Description

bug

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

https://github.com/roboflow/roboflow-python/blob/3620fda4b84bd495ec2a2a2ebbfad6e7951189c6/roboflow/core/version.py#L100

Dominant language
Python
Stars
642
Forks
146
Avg merge
1d 10h
Merged PRs (30d)
13

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from roboflow/roboflow-python

All issues in roboflow/roboflow-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.