The official Roboflow Python package. Manage your datasets, models, and deployments. Roboflow has everything you need to build a computer vision application.
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.
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: