Buckets:

download
raw
621 Bytes
# SPDX-FileCopyrightText: 2023-present MTS PJSC
# SPDX-License-Identifier: Apache-2.0
from typing import Literal
from pydantic import Field, SecretStr
from syncmaster.schemas.v1.auth.mixins import SecretDumpMixin
class ReadS3AuthSchema(SecretDumpMixin):
type: Literal["s3"] = Field(default="s3", description="Auth type")
access_key: str
class CreateS3AuthSchema(ReadS3AuthSchema):
secret_key: SecretStr
class UpdateS3AuthSchema(CreateS3AuthSchema):
secret_key: SecretStr | None = None # type: ignore[assignment]
def get_secret_fields(self) -> tuple[str, ...]:
return ("secret_key",)

Xet Storage Details

Size:
621 Bytes
·
Xet hash:
f6c539847436445950d0d22d99d251c3898ceca2f9b63df6d4a062f5273ec11e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.