Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ycd/manage-fastapi
/ camel_to_snake
Function
camel_to_snake
manage_fastapi/helpers.py:9–10 ·
view source on GitHub ↗
(text: str)
Source
from the content-addressed store, hash-verified
7
8
9
def
camel_to_snake(text: str) -> str:
10
return
re.sub(r
"(?<!^)(?=[A-Z])"
,
"_"
, text).lower()
11
12
13
def
question(choices: EnumType) -> questionary.Question:
Callers
1
question
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected