class_docstr: The request object used by default in Flask.  Remembers the
  matched endpoint and view arguments.
  
  It is what ends up as :class:`~flask.request`.  If you want to replace
  the request object used you can subclass this and set
  :attr:`~flask.Flask.request_class` to your subclass.
  
  The request object is a :class:`~werkzeug.wrappers.Request` subclass and
  provides all of the attributes Werkzeug defines plus a few Flask
  specific ones.
class_docstr_tok: ["The","request","object","used","by","default","in","Flask",".","Remembers","the","matched","endpoint","and","view","arguments",".","It","is","what","ends","up","as",":","class",":","`","~flask.request","`",".","If","you","want","to","replace","the","request","object","used","you","can","subclass","this","and","set",":","attr",":","`","~flask.Flask.request_class","`","to","your","subclass",".","The","request","object","is","a",":","class",":","`","~werkzeug.wrappers.Request","`","subclass","and","provides","all","of","the","attributes","Werkzeug","defines","plus","a","few","Flask","specific","ones","."]
docstr: The registered name of the current blueprint.
  
  This will be ``None`` if the endpoint is not part of a
  blueprint, or if URL matching failed or has not been performed
  yet.
  
  This does not necessarily match the name the blueprint was
  created with. It may have been nested, or registered with a
  different name.
docstr_tok: ["The","registered","name","of","the","current","blueprint",".","This","will","be","``","None","``","if","the","endpoint","is","not","part","of","a","blueprint",",","or","if","URL","matching","failed","or","has","not","been","performed","yet",".","This","does","not","necessarily","match","the","name","the","blueprint","was","created","with",".","It","may","have","been","nested",",","or","registered","with","a","different","name","."]
code: def blueprint(self) -> str | None:
      """The registered name of the current blueprint.
  
      This will be ``None`` if the endpoint is not part of a
      blueprint, or if URL matching failed or has not been performed
      yet.
  
      This does not necessarily match the name the blueprint was
      created with. It may have been nested, or registered with a
      different name.
      """
      endpoint = self.endpoint
  
      if endpoint is not None and "." in endpoint:
          return endpoint.rpartition(".")[0]
  
      return None
  
file_path: flask/src/flask/wrappers.py
imports: from __future__ import annotations
  import typing
  from werkzeug.exceptions import BadRequest
  from werkzeug.wrappers import Request
  from werkzeug.wrappers import Response
  from .None import json
  from .globals import current_app
  from .helpers import _split_blueprint_path
label_desc: Use image node_id 3 for calling the Request obj's underlying member method code with example usage: obj.blueprint() and returns: None, endpoint