Buckets:

download
raw
324 Bytes
# SPDX-FileCopyrightText: 2024-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:
d18d78b98e44b9441c92e5f456a1f7ff52f5d32ba44f5add1bc016f0d3fec0f5

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