Configuration (Python)¶
Module that provides functions for accessing the configuration of the currently running Katana session.
-
Configuration.
exportConfiguration
() → dict¶ Returns a dictionary with all stored configuration entries.
-
Configuration.
get
(key: str) → str¶ Returns the value of the configuration entry with the given key, or an empty string if no entry exists with the given key.
-
Configuration.
has
(key: str) → bool¶ Returns true if there is a configuration entry with the given key, otherwise false.
-
Configuration.
set
(key: str, value: str) → None¶ Sets the value of a configuration entry with the given key to the given value. Creates the configuration entry if no entry with the given key exists yet.