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

Method process_rule

python/python3/tornado/web.py:1940–1948  ·  view source on GitHub ↗
(self, rule: Rule)

Source from the content-addressed store, hash-verified

1938 super().__init__(rules)
1939
1940 def process_rule(self, rule: Rule) -> Rule:
1941 rule = super().process_rule(rule)
1942
1943 if isinstance(rule.target, (list, tuple)):
1944 rule.target = _ApplicationRouter(
1945 self.application, rule.target # type: ignore
1946 )
1947
1948 return rule
1949
1950 def get_target_delegate(
1951 self, target: Any, request: httputil.HTTPServerRequest, **target_params: Any

Callers

nothing calls this directly

Calls 1

_ApplicationRouterClass · 0.85

Tested by

no test coverage detected