code: def blueprint(self) -> Optional[str]:
          
          if self.endpoint is not None and '.' in self.endpoint:
              return self.endpoint.rsplit('.', 1)[0]
          else:
              return None
docs: Returns the blueprint the matched endpoint belongs to.
  
          This can be None if the request has not been matched or the
          endpoint is not in a blueprint.