# flask 3.1.3 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Open a resource file relative to the application's instance folder
        :attr:`instance_path`. Unlike :meth:`open_resource`, files in the
        instance folder can be opened for writing.

        :param resource: Path to the resource relative to :attr:`instance_path`.
        :param mode: Open the file in this mode.
        :param encoding: Open the file with this encoding when opening in text
            mode. This is ignored when opening in binary mode.

        .. versionchanged:: 3.1
            Added the ``encoding`` parameter.
        
=== parse rest
short_description: |
  Open a resource file relative to the application's instance folder
  :attr:`instance_path`. Unlike :meth:`open_resource`, files in the
  instance folder can be opened for writing.
long_description: |
  .. versionchanged:: 3.1
      Added the ``encoding`` parameter.
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: 'Path to the resource relative to :attr:`instance_path`.'
  kind: param
  key: 'param'
  arg_name: 'resource'
  is_optional: False
- DocstringParam
  description: 'Open the file in this mode.'
  kind: param
  key: 'param'
  arg_name: 'mode'
  is_optional: False
- DocstringParam
  description: |
    Open the file with this encoding when opening in text
    mode. This is ignored when opening in binary mode.
  kind: param
  key: 'param'
  arg_name: 'encoding'
  is_optional: False
=== detect
rest
=== compose rest
Open a resource file relative to the application's instance folder
:attr:`instance_path`. Unlike :meth:`open_resource`, files in the
instance folder can be opened for writing.

.. versionchanged:: 3.1
    Added the ``encoding`` parameter.

:param resource: Path to the resource relative to :attr:`instance_path`.
:param mode: Open the file in this mode.
:param encoding: Open the file with this encoding when opening in text
    mode. This is ignored when opening in binary mode.
