MCPcopy
hub / github.com/fastapi/fastapi / path_for

Method path_for

fastapi/routing.py:1354–1355  ·  view source on GitHub ↗
(self, route: _RouteWithPath)

Source from the content-addressed store, hash-verified

1352 )
1353
1354 def path_for(self, route: _RouteWithPath) -> str:
1355 return self.prefix + route.path
1356
1357
1358@dataclass

Callers 2

from_api_routeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected