You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find it confusing that in Project.upload there's both a hosted_image: boolargument set by the user, and an internal is_hosted, that determines which errors may be thrown.
By setting hosted_image it's possible to bypass checks and send the image to Roboflow, which promptly returns a 500 code.
The text was updated successfully, but these errors were encountered:
LinasKo
changed the title
Lacking docs for project.py - hosted_image, is_hosted
Clarity between hosted_image and is_hosted in project.pyFeb 27, 2024
LinasKo
changed the title
Clarity between hosted_image and is_hosted in project.py
Clarity between hosted_image and is_hosted in Project.uploadFeb 27, 2024
I find it confusing that in
Project.upload
there's both ahosted_image: bool
argument set by the user, and an internalis_hosted
, that determines which errors may be thrown.By setting
hosted_image
it's possible to bypass checks and send the image to Roboflow, which promptly returns a500
code.Still, maybe there's a reason behind it?
Test code:
This raises:
The text was updated successfully, but these errors were encountered: