Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /MTSWebServices_syncmaster /syncmaster /schemas /v1 /transfers /strategy.py
| # SPDX-FileCopyrightText: 2023-present MTS PJSC | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from typing import Annotated, Literal | |
| from pydantic import BaseModel, Field | |
| class FullStrategy(BaseModel): | |
| type: Literal["full"] = "full" | |
| class IncrementalStrategy(BaseModel): | |
| type: Literal["incremental"] = "incremental" | |
| increment_by: str | |
| Strategy = Annotated[FullStrategy | IncrementalStrategy, Field(discriminator="type")] | |
| __all__ = [ | |
| "FullStrategy", | |
| "IncrementalStrategy", | |
| "Strategy", | |
| ] | |
Xet Storage Details
- Size:
- 508 Bytes
- Xet hash:
- d112cc8e3176de02870b44e6adbf526fc7d49cf0ba5a8fc3b7ca29d985df5aac
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.