Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /MTSWebServices_syncmaster /syncmaster /server /utils /slug.py
| # SPDX-FileCopyrightText: 2023-present MTS PJSC | |
| # SPDX-License-Identifier: Apache-2.0 | |
| def slugify(text: str) -> str: | |
| """Convert `Some value` to `some-value`. | |
| Used to convert `FastAPI.title` to short name which can be used as label for Prometheus metrics. | |
| """ | |
| return text.lower().strip().replace(" ", "-") | |
Xet Storage Details
- Size:
- 324 Bytes
- Xet hash:
- 16d5265fc59ecb16311b48bc6185489eadb0c6d664f718e266a06f116d2bf733
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.