Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /MTSWebServices_data-rentgen /data_rentgen /dto /user.py
| # SPDX-FileCopyrightText: 2024-present MTS PJSC | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from __future__ import annotations | |
| from dataclasses import dataclass, field | |
| class UserDTO: | |
| name: str | |
| id: int | None = field(default=None, compare=False) | |
| def unique_key(self): | |
| return self.name.lower() | |
| def merge(self, new: UserDTO) -> UserDTO: | |
| self.id = new.id or self.id | |
| return self | |
Xet Storage Details
- Size:
- 451 Bytes
- Xet hash:
- 440c10ff051d8d605d983b1eef9b05804c871e8d9c02b5a7181ea00511fdab70
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.