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
Pydantic's AnyUrl requires a host to be specified. For file resources this means that a triple slash such as file:///foo.txt is required because there is no host. We should likely be using Annotated[pydantic.AnyUrl, pydantic.UrlConstraints(host_required=False)] or something along these lines.
The text was updated successfully, but these errors were encountered:
dsp-ant
changed the title
Use Annotated[pydantic.AnyUrl, pydantic.UrlConstraints(host_required=False)] instead of AnyUrk
Use Annotated[pydantic.AnyUrl, pydantic.UrlConstraints(host_required=False)] instead of AnyUrl
Dec 3, 2024
Pydantic's AnyUrl requires a host to be specified. For file resources this means that a triple slash such as
file:///foo.txt
is required because there is no host. We should likely be usingAnnotated[pydantic.AnyUrl, pydantic.UrlConstraints(host_required=False)]
or something along these lines.The text was updated successfully, but these errors were encountered: