Skip to content

Commit

Permalink
Update structured config docs: mention bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasha10 committed May 26, 2022
1 parent 6a4fd51 commit 0a7893d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/structured_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ in the input class.


Currently, type hints supported in OmegaConf’s structured configs include:
- primitive types (``int``, ``float``, ``bool``, ``str``, ``Path``) and enum types
- primitive types (``int``, ``float``, ``bool``, ``str``, ``bytes``, ``Path``) and enum types
(user-defined subclasses of ``enum.Enum``). See the :ref:`simple_types` section below.
- unions of primitive/enum types, e.g. ``Union[float, bool, MyEnum]``.
See :ref:`union_types` below.
Expand Down

0 comments on commit 0a7893d

Please sign in to comment.