MCPcopy Create free account
hub / github.com/EasyIME/PIME / reverse_url

Method reverse_url

python/python3/tornado/routing.py:218–226  ·  view source on GitHub ↗

Returns url string for a given route name and arguments or ``None`` if no match is found. :arg str name: route name. :arg args: url parameters. :returns: parametrized url string for a given route name (or ``None``).

(self, name: str, *args: Any)

Source from the content-addressed store, hash-verified

216 """
217
218 def reverse_url(self, name: str, *args: Any) -> Optional[str]:
219 """Returns url string for a given route name and arguments
220 or ``None`` if no match is found.
221
222 :arg str name: route name.
223 :arg args: url parameters.
224 :returns: parametrized url string for a given route name (or ``None``).
225 """
226 raise NotImplementedError()
227
228
229class _RoutingDelegate(httputil.HTTPMessageDelegate):

Callers 1

reverse_urlMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected