Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/starlette
/ get_name
Function
get_name
starlette/routing.py:88–89 ·
view source on GitHub ↗
(endpoint: Callable[..., Any])
Source
from the content-addressed store, hash-verified
86
87
88
def
get_name(endpoint: Callable[..., Any]) -> str:
89
return
getattr(endpoint,
"__name__"
, endpoint.__class__.__name__)
90
91
92
def
replace_params(
Callers
2
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected