kiln_ai.utils.formatting

1import re
2
3
4def snake_case(s: str) -> str:
5    return re.sub(r"(?<!^)(?=[A-Z])", "_", s).lower()
def snake_case(s: str) -> str:
5def snake_case(s: str) -> str:
6    return re.sub(r"(?<!^)(?=[A-Z])", "_", s).lower()