Method: flask.blueprints.Blueprint.make_setup_state
Calls: 89, Exceptions: 0, Paths: 1Back
Path 1: 89 calls (1.0)
Flask (89)
{} (34) {'url_prefix': '/py'} (19) {'url_prefix': '/bp'} (10) {'url_prefix': '/parent/child', 'name_prefix': 'parent'} (5) {'url_prefix': '/parent'} (...
True (85) False (4)
BlueprintSetupState (89)
1def make_setup_state(
2 self, app: Flask, options: dict, first_registration: bool = False
3 ) -> BlueprintSetupState:
4 """Creates an instance of :meth:`~flask.blueprints.BlueprintSetupState`
5 object that is later passed to the register callback functions.
6 Subclasses can override this to return a subclass of the setup state.
7 """
8 return BlueprintSetupState(self, app, options, first_registration)