MCPcopy
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
88def get_name(endpoint: Callable[..., Any]) -> str:
89 return getattr(endpoint, "__name__", endpoint.__class__.__name__)
90
91
92def replace_params(

Callers 2

__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected