# flask 3.1.3 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Load any environment variables that start with ``FLASK_``,
        dropping the prefix from the env key for the config key. Values
        are passed through a loading function to attempt to convert them
        to more specific types than strings.

        Keys are loaded in :func:`sorted` order.

        The default loading function attempts to parse values as any
        valid JSON type, including dicts and lists.

        Specific items in nested dicts can be set by separating the
        keys with double underscores (``__``). If an intermediate key
        doesn't exist, it will be initialized to an empty dict.

        :param prefix: Load env vars that start with this prefix,
            separated with an underscore (``_``).
        :param loads: Pass each string value to this function and use
            the returned value as the config value. If any error is
            raised it is ignored and the value remains a string. The
            default is :func:`json.loads`.

        .. versionadded:: 2.1
        
=== parse rest
short_description: |
  Load any environment variables that start with ``FLASK_``,
  dropping the prefix from the env key for the config key. Values
  are passed through a loading function to attempt to convert them
  to more specific types than strings.
long_description: |
  Keys are loaded in :func:`sorted` order.
  
  The default loading function attempts to parse values as any
  valid JSON type, including dicts and lists.
  
  Specific items in nested dicts can be set by separating the
  keys with double underscores (``__``). If an intermediate key
  doesn't exist, it will be initialized to an empty dict.
  
  .. versionadded:: 2.1
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: |
    Load env vars that start with this prefix,
    separated with an underscore (``_``).
  kind: param
  key: 'param'
  arg_name: 'prefix'
  is_optional: False
- DocstringParam
  description: |
    Pass each string value to this function and use
    the returned value as the config value. If any error is
    raised it is ignored and the value remains a string. The
    default is :func:`json.loads`.
  kind: param
  key: 'param'
  arg_name: 'loads'
  is_optional: False
=== detect
rest
=== compose rest
Load any environment variables that start with ``FLASK_``,
dropping the prefix from the env key for the config key. Values
are passed through a loading function to attempt to convert them
to more specific types than strings.

Keys are loaded in :func:`sorted` order.

The default loading function attempts to parse values as any
valid JSON type, including dicts and lists.

Specific items in nested dicts can be set by separating the
keys with double underscores (``__``). If an intermediate key
doesn't exist, it will be initialized to an empty dict.

.. versionadded:: 2.1

:param prefix: Load env vars that start with this prefix,
    separated with an underscore (``_``).
:param loads: Pass each string value to this function and use
    the returned value as the config value. If any error is
    raised it is ignored and the value remains a string. The
    default is :func:`json.loads`.
