roboflow-python icon indicating copy to clipboard operation
roboflow-python copied to clipboard

Bug when getting model from project version

Open joaomarcoscrs opened this issue 1 year ago • 1 comments

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

joaomarcoscrs avatar Jul 23 '24 14:07 joaomarcoscrs

It was a recent change. Ref #276.

cc @stellasphere

iurisilvio avatar Jul 23 '24 15:07 iurisilvio