Buckets:

download
raw
913 Bytes
# SPDX-FileCopyrightText: 2023-present MTS PJSC
# SPDX-License-Identifier: Apache-2.0
from typing import Literal
from syncmaster.exceptions.base import SyncmasterError
class TransferOwnerError(SyncmasterError):
pass
class TransferNotFoundError(SyncmasterError):
pass
class DuplicatedTransferNameError(SyncmasterError):
pass
class DifferentTransferAndConnectionsGroupsError(SyncmasterError):
pass
class DifferentTypeConnectionsAndParamsError(SyncmasterError):
def __init__(
self,
connection_type: str,
params_type: str,
conn: Literal["source", "target"],
):
self.connection_type = connection_type
self.params_type = params_type
self.conn = conn.capitalize()
@property
def message(self) -> str:
return f"{self.conn} connection has type `{self.connection_type}` but its params has `{self.params_type}` type"

Xet Storage Details

Size:
913 Bytes
·
Xet hash:
6d8111eed32839b709284fd4458952d811e62364ac8971738e9c2ca3a2973b94

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