code: def blueprint(self, blueprint, **options):
          
          if isinstance(blueprint, (list, tuple, BlueprintGroup)):
              for item in blueprint:
                  self.blueprint(item, **options)
              return
          if blueprint.name in self.blueprints:
              assert self.blueprints[blueprint.name] is blueprint, (
                  'A blueprint with the name "%s" is already registered.  '
                  "Blueprint names must be unique." % (blueprint.name,)
              )
          else:
              self.blueprints[blueprint.name] = blueprint
              self._blueprint_order.append(blueprint)
          blueprint.register(self, options)
docs: Register a blueprint on the application.
  
          :param blueprint: Blueprint object or (list, tuple) thereof
          :param options: option dictionary with blueprint defaults
          :return: Nothing