:py:mod:`lightning_template.utils.cli.argument_parsers`
=======================================================

.. py:module:: lightning_template.utils.cli.argument_parsers


Submodules
----------
.. toctree::
   :titlesonly:
   :maxdepth: 1

   deep_update/index.rst
   json_file_action/index.rst
   yaml_with_merge/index.rst


Package Contents
----------------

Classes
~~~~~~~

.. autoapisummary::

   lightning_template.utils.cli.argument_parsers.ActionJsonFile



Functions
~~~~~~~~~

.. autoapisummary::

   lightning_template.utils.cli.argument_parsers.deep_update
   lightning_template.utils.cli.argument_parsers.yaml_with_merge_load



.. py:class:: ActionJsonFile(**kwargs)


   Bases: :py:obj:`jsonargparse.actions.Action`, :py:obj:`jsonargparse.actions.FilesCompleterMethod`

   Action to indicate that an argument is a configuration file or a configuration
   string in json format.

   .. py:method:: __call__(parser, cfg, values, option_string=None)

      Parses the given configuration and adds all the corresponding keys to the
      namespace.

      :raises TypeError: If there are problems parsing the configuration.


   .. py:method:: apply_config(parser, cfg, dest, value) -> None
      :staticmethod:



.. py:function:: deep_update(source, override)

   Update a nested dictionary or similar mapping.

   Modify ``source`` in place.


.. py:function:: yaml_with_merge_load(stream, path=None, ext_vars=None)


