First of all, thanks for the outstanding tool you are building, @Hironsan! I have used it in several projects with awesome results!
I was just trying out the AutoLabeling feature with a local API, exposed at http://localhost:81.
Nevertheless, an error message always kept me from finishing the configuration:
The attributes does not match the model.You need to correctly specify the required fields: url, method
I'd suggest to change the validation to AnyHttpUrl, as the Pydantic docs indicate that it drops the TLD requirement, so as to facilitate local testing.
Hi!
First of all, thanks for the outstanding tool you are building, @Hironsan! I have used it in several projects with awesome results! I was just trying out the AutoLabeling feature with a local API, exposed at http://localhost:81. Nevertheless, an error message always kept me from finishing the configuration:
It turns out that the Pydantic validator at https://github.com/doccano/auto-labeling-pipeline/blob/fa52f4dbafd47aa9435c2267b68ab6ad718b48f0/auto_labeling_pipeline/models.py#L46 requires the url field to have a TLD (i.e. to be like a .com). Indeed, I was able to complete the Custom REST testing stage by using a
.local
address (which maps to localhost).I'd suggest to change the validation to
AnyHttpUrl
, as the Pydantic docs indicate that it drops the TLD requirement, so as to facilitate local testing.Thanks in advance!