Skip to content

Fix check for has_model for model upload - #330

Merged
SolomonLake merged 1 commit into
mainfrom
fix/model-upload-has-model
Oct 2, 2024
Merged

Fix check for has_model for model upload#330
SolomonLake merged 1 commit into
mainfrom
fix/model-upload-has-model

Conversation

@SolomonLake

Copy link
Copy Markdown
Contributor

Description

Fixes bug introduced here: https://github.com/roboflow/roboflow-python/pull/279/files, where has_model is always false for models uploaded to Roboflow. Those models will not have a "models" field on their version record.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How has this change been tested, please provide a testcase or example of how you tested the change?

Tested locally with uploaded model, and model trained with roboflow.

Any specific deployment considerations

no

Docs

  • Docs updated? What were the changes:

@SolomonLake
SolomonLake requested a review from iurisilvio October 2, 2024 18:04

@tonylampada tonylampada left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@SolomonLake
SolomonLake merged commit 8c1903e into main Oct 2, 2024
@SolomonLake
SolomonLake deleted the fix/model-upload-has-model branch October 2, 2024 18:13
@iurisilvio iurisilvio mentioned this pull request Oct 3, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants