onyo.lib.consts module
- onyo.lib.consts.KNOWN_REPO_VERSIONS = ['1', '2']
Onyo repository versions that this version of onyo knows.
Needed to realize when onyo runs on a repo that was created by a newer version. (Or a user messed it up).
- onyo.lib.consts.PSEUDO_KEYS = ['path']
Key names that are addressable but not in asset content.
All
PSEUDO_KEYSare reserved.See also
- onyo.lib.consts.RESERVED_KEYS = ['directory', 'is_asset_directory', 'template']
Key names that are reserved and must not be part of asset content.
These keys have functional meaning for Onyo. Thus they are reserved and cannot be part of asset content.
- onyo.lib.consts.TYPE_SYMBOL_MAPPING = {'<dict>': (<class 'dict'>, <class 'collections.UserDict'>), '<list>': <class 'list'>}
Mapping of symbols for use w/ type matching (onyo_get) and simplified output.
- onyo.lib.consts.UNSET_VALUE = '<unset>'
String to represent keys that are not set.