Add s3-insecure to pydantic checker (#665)
This commit is contained in:
parent
b031880e41
commit
1a728ea023
|
@ -28,7 +28,7 @@ class ImplicitHostname(AnyUrl):
|
||||||
|
|
||||||
class MediaBackendUrl(AnyUrl):
|
class MediaBackendUrl(AnyUrl):
|
||||||
host_required = False
|
host_required = False
|
||||||
allowed_schemes = {"s3", "gs", "local"}
|
allowed_schemes = {"s3", "s3-insecure", "gs", "local"}
|
||||||
|
|
||||||
|
|
||||||
def as_bool(v: str | list[str] | None):
|
def as_bool(v: str | list[str] | None):
|
||||||
|
|
Loading…
Reference in New Issue