Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /MTSWebServices_data-rentgen /data_rentgen /dto /base.py
| # SPDX-FileCopyrightText: 2025-present MTS PJSC | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from collections.abc import Hashable | |
| from typing import Protocol, Self | |
| class DTO(Protocol): | |
| def unique_key(self) -> Hashable: | |
| """Expected to return the same value for the same DTO object""" | |
| ... | |
| def merge(self, new: Self) -> Self: | |
| """ | |
| Expected to update existing object with data from new object | |
| (from different point in time). | |
| unique_key should be exactly the same! | |
| """ | |
| ... | |
Xet Storage Details
- Size:
- 551 Bytes
- Xet hash:
- 4a628f3302327b70c78270b84ce27de3e640cc57067fda857445caaa1239bc35
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.