# flask 3.1.3 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Represents a blueprint, a collection of routes and other
    app-related functions that can be registered on a real application
    later.

    A blueprint is an object that allows defining application functions
    without requiring an application object ahead of time. It uses the
    same decorators as :class:`~flask.Flask`, but defers the need for an
    application by recording them for later registration.

    Decorating a function with a blueprint creates a deferred function
    that is called with :class:`~flask.blueprints.BlueprintSetupState`
    when the blueprint is registered on an application.

    See :doc:`/blueprints` for more information.

    :param name: The name of the blueprint. Will be prepended to each
        endpoint name.
    :param import_name: The name of the blueprint package, usually
        ``__name__``. This helps locate the ``root_path`` for the
        blueprint.
    :param static_folder: A folder with static files that should be
        served by the blueprint's static route. The path is relative to
        the blueprint's root path. Blueprint static files are disabled
        by default.
    :param static_url_path: The url to serve static files from.
        Defaults to ``static_folder``. If the blueprint does not have
        a ``url_prefix``, the app's static route will take precedence,
        and the blueprint's static files won't be accessible.
    :param template_folder: A folder with templates that should be added
        to the app's template search path. The path is relative to the
        blueprint's root path. Blueprint templates are disabled by
        default. Blueprint templates have a lower precedence than those
        in the app's templates folder.
    :param url_prefix: A path to prepend to all of the blueprint's URLs,
        to make them distinct from the rest of the app's routes.
    :param subdomain: A subdomain that blueprint routes will match on by
        default.
    :param url_defaults: A dict of default values that blueprint routes
        will receive by default.
    :param root_path: By default, the blueprint will automatically set
        this based on ``import_name``. In certain situations this
        automatic detection can fail, so the path can be specified
        manually instead.

    .. versionchanged:: 1.1.0
        Blueprints have a ``cli`` group to register nested CLI commands.
        The ``cli_group`` parameter controls the name of the group under
        the ``flask`` command.

    .. versionadded:: 0.7
    
=== parse rest
short_description: |
  Represents a blueprint, a collection of routes and other
  app-related functions that can be registered on a real application
  later.
long_description: |
  A blueprint is an object that allows defining application functions
  without requiring an application object ahead of time. It uses the
  same decorators as :class:`~flask.Flask`, but defers the need for an
  application by recording them for later registration.
  
  Decorating a function with a blueprint creates a deferred function
  that is called with :class:`~flask.blueprints.BlueprintSetupState`
  when the blueprint is registered on an application.
  
  See :doc:`/blueprints` for more information.
  
  .. versionchanged:: 1.1.0
      Blueprints have a ``cli`` group to register nested CLI commands.
      The ``cli_group`` parameter controls the name of the group under
      the ``flask`` command.
  
  .. versionadded:: 0.7
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: |
    The name of the blueprint. Will be prepended to each
    endpoint name.
  kind: param
  key: 'param'
  arg_name: 'name'
  is_optional: False
- DocstringParam
  description: |
    The name of the blueprint package, usually
    ``__name__``. This helps locate the ``root_path`` for the
    blueprint.
  kind: param
  key: 'param'
  arg_name: 'import_name'
  is_optional: False
- DocstringParam
  description: |
    A folder with static files that should be
    served by the blueprint's static route. The path is relative to
    the blueprint's root path. Blueprint static files are disabled
    by default.
  kind: param
  key: 'param'
  arg_name: 'static_folder'
  is_optional: False
- DocstringParam
  description: |
    The url to serve static files from.
    Defaults to ``static_folder``. If the blueprint does not have
    a ``url_prefix``, the app's static route will take precedence,
    and the blueprint's static files won't be accessible.
  kind: param
  key: 'param'
  arg_name: 'static_url_path'
  is_optional: True
  default: 'static_folder'
- DocstringParam
  description: |
    A folder with templates that should be added
    to the app's template search path. The path is relative to the
    blueprint's root path. Blueprint templates are disabled by
    default. Blueprint templates have a lower precedence than those
    in the app's templates folder.
  kind: param
  key: 'param'
  arg_name: 'template_folder'
  is_optional: False
- DocstringParam
  description: |
    A path to prepend to all of the blueprint's URLs,
    to make them distinct from the rest of the app's routes.
  kind: param
  key: 'param'
  arg_name: 'url_prefix'
  is_optional: False
- DocstringParam
  description: |
    A subdomain that blueprint routes will match on by
    default.
  kind: param
  key: 'param'
  arg_name: 'subdomain'
  is_optional: False
- DocstringParam
  description: |
    A dict of default values that blueprint routes
    will receive by default.
  kind: param
  key: 'param'
  arg_name: 'url_defaults'
  is_optional: False
- DocstringParam
  description: |
    By default, the blueprint will automatically set
    this based on ``import_name``. In certain situations this
    automatic detection can fail, so the path can be specified
    manually instead.
  kind: param
  key: 'param'
  arg_name: 'root_path'
  is_optional: False
=== detect
rest
=== compose rest
Represents a blueprint, a collection of routes and other
app-related functions that can be registered on a real application
later.

A blueprint is an object that allows defining application functions
without requiring an application object ahead of time. It uses the
same decorators as :class:`~flask.Flask`, but defers the need for an
application by recording them for later registration.

Decorating a function with a blueprint creates a deferred function
that is called with :class:`~flask.blueprints.BlueprintSetupState`
when the blueprint is registered on an application.

See :doc:`/blueprints` for more information.

.. versionchanged:: 1.1.0
    Blueprints have a ``cli`` group to register nested CLI commands.
    The ``cli_group`` parameter controls the name of the group under
    the ``flask`` command.

.. versionadded:: 0.7

:param name: The name of the blueprint. Will be prepended to each
    endpoint name.
:param import_name: The name of the blueprint package, usually
    ``__name__``. This helps locate the ``root_path`` for the
    blueprint.
:param static_folder: A folder with static files that should be
    served by the blueprint's static route. The path is relative to
    the blueprint's root path. Blueprint static files are disabled
    by default.
:param static_url_path: The url to serve static files from.
    Defaults to ``static_folder``. If the blueprint does not have
    a ``url_prefix``, the app's static route will take precedence,
    and the blueprint's static files won't be accessible.
:param template_folder: A folder with templates that should be added
    to the app's template search path. The path is relative to the
    blueprint's root path. Blueprint templates are disabled by
    default. Blueprint templates have a lower precedence than those
    in the app's templates folder.
:param url_prefix: A path to prepend to all of the blueprint's URLs,
    to make them distinct from the rest of the app's routes.
:param subdomain: A subdomain that blueprint routes will match on by
    default.
:param url_defaults: A dict of default values that blueprint routes
    will receive by default.
:param root_path: By default, the blueprint will automatically set
    this based on ``import_name``. In certain situations this
    automatic detection can fail, so the path can be specified
    manually instead.
