Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /MTSWebServices_data-rentgen /data_rentgen /db /utils /fields.py
| # SPDX-FileCopyrightText: 2024-present MTS PJSC | |
| # SPDX-License-Identifier: Apache-2.0 | |
| import json | |
| from typing import Any | |
| from uuid import UUID | |
| from data_rentgen.utils.uuid import generate_static_uuid | |
| def get_fields_digest(fields: Any) -> UUID: | |
| """Use this function to generate SHA-1 digest of schema fields""" | |
| content = json.dumps(fields, sort_keys=True) | |
| return generate_static_uuid(content) | |
Xet Storage Details
- Size:
- 407 Bytes
- Xet hash:
- 204f33edbeb45341c4593c80926e1eac576e04f6738556f8aad0886e5a786d5f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.