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
1 changed files with 1 additions and 1 deletions

View File

@ -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):