Add s3-insecure to pydantic checker (#665)

This commit is contained in:
Rob 2023-11-27 03:13:55 +09:00 committed by GitHub
parent b031880e41
commit 1a728ea023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ class ImplicitHostname(AnyUrl):
class MediaBackendUrl(AnyUrl):
host_required = False
allowed_schemes = {"s3", "gs", "local"}
allowed_schemes = {"s3", "s3-insecure", "gs", "local"}
def as_bool(v: str | list[str] | None):