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

Method process_rule

python/python3/tornado/routing.py:350–356  ·  view source on GitHub ↗

Override this method for additional preprocessing of each rule. :arg Rule rule: a rule to be processed. :returns: the same or modified Rule instance.

(self, rule: "Rule")

Source from the content-addressed store, hash-verified

348 self.rules.append(self.process_rule(rule))
349
350 def process_rule(self, rule: "Rule") -> "Rule":
351 """Override this method for additional preprocessing of each rule.
352
353 :arg Rule rule: a rule to be processed.
354 :returns: the same or modified Rule instance.
355 """
356 return rule
357
358 def find_handler(
359 self, request: httputil.HTTPServerRequest, **kwargs: Any

Callers 2

add_rulesMethod · 0.95
process_ruleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected