code: def middleware(self, *args, **kwargs):
          
          kwargs["bp_group"] = True
  
          def register_middleware_for_blueprints(fn):
              for blueprint in self.blueprints:
                  blueprint.middleware(fn, *args, **kwargs)
  
          return register_middleware_for_blueprints
docs: A decorator that can be used to implement a Middleware plugin to
          all of the Blueprints that belongs to this specific Blueprint Group.
  
          In case of nested Blueprint Groups, the same middleware is applied
          across each of the Blueprints recursively.
  
          :param args: Optional positional Parameters to be use middleware
          :param kwargs: Optional Keyword arg to use with Middleware
          :return: Partial function to apply the middleware