decorators
sgp.decorators.config
module-attribute
config = Config(verbose=lower() in trues, password=get('SGP_PASSWORD', ''), numba_enabled=get('NUMBA_DISABLE_JIT', '0') == '0', language=value('language', name()))
sgp.decorators.execute_in_thread
Execute a function in a separate thread, usually for functions that do not return a value. For functions that return a value, use the slot parameter to connect the resultReady signal to a function that will receive the result.
| PARAMETER | DESCRIPTION |
|---|---|
func |
Function to be executed in a separate thread, by default None
TYPE:
|
slot |
Function to be connected to the resultReady signal when the result is ready, by default None
TYPE:
|