DAP.init(configString: str) -> Tuple[int, CellFrame.Events]
Initializes working with the Python-CellFrame library. The configString
argument must be a string in JSON format. You can read more about initialization and about the parameters set in the configuration string on Initialization page. Returns a tuple contains 0
and a Events
object.
DAP.deinit() -> int
Deinitializes working with the Python-CellFrame library. Returns 0
.
DAP.setLogLevel(logLevel: int) -> int
Sets logging level. The logLevel
argument can have one of the following values:
DEBUG |
0 |
INFO |
1 |
NOTICE |
2 |
MESSAGE |
3 |
DAP |
4 |
WARNING |
5 |
ATT |
6 |
ERROR |
7 |
CRITICAL |
8 |
DAP.configGetItem(section: str, key: str)
Returns the value of the key
from the section
specified in the configuration string.
DAP.configGetItemDefault(section: str, key: str, defaultValue: str)
Returns the value of the key
from the section
specified in the configuration string. If the key value was not found returns the default value specified by the defaultValue
argument.