Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /MTSWebServices_syncmaster /syncmaster /errors /base.py
| # SPDX-FileCopyrightText: 2023-present MTS PJSC | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from typing import Any, Generic, TypeVar | |
| from pydantic import BaseModel | |
| class BaseErrorSchema(BaseModel): | |
| code: str | |
| message: str | |
| details: Any | |
| ErrorModel = TypeVar("ErrorModel", bound=BaseErrorSchema) | |
| class APIErrorSchema(BaseModel, Generic[ErrorModel]): | |
| error: ErrorModel | |
Xet Storage Details
- Size:
- 381 Bytes
- Xet hash:
- 4cce83f3ea6aad4ad7991d28115f5fdaba3c37975c38079558b3be0033ed37a0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.