API¶
Basic API¶
-
aboutconfig.
get_config
(key: str, value_only: bool = True) → Any¶ Get configured value by key.
By default returns value only. If
value_only
isFalse
, returns an instance of aboutconfig.utils.DataTuple which also contains theallow_template_use
value.This is a lazy wrapper around the internal
utils.get_config()
function.
Advanced API¶
Use this as a reference for creating your own data types.