Method: flask.blueprints.Blueprint.record
Calls: 93, Exceptions: 0, Paths: 1Back
Path 1: 93 calls (1.0)
Blueprint.add_url_rule.
1@setupmethod
2 def record(self, func: t.Callable) -> None:
3 """Registers a function that is called when the blueprint is
4 registered on the application. This function is called with the
5 state as argument as returned by the :meth:`make_setup_state`
6 method.
7 """
8 self.deferred_functions.append(func)