ThreadService
ThreadService(rest)
Bases: ObjectService
Service to work with Threads in TM1 Deprecated as of TM1 Server v12
Source code in TM1py/Services/ThreadService.py
cancel(thread_id, **kwargs)
Kill a running thread
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thread_id
|
int
|
|
required |
Returns:
| Type | Description |
|---|---|
Response
|
|
Source code in TM1py/Services/ThreadService.py
cancel_all_running(**kwargs)
Source code in TM1py/Services/ThreadService.py
get_active(**kwargs)
Return a list of non-idle threads from the TM1 Server
Returns:
| Type | Description |
|---|---|
|
list: TM1 threads as dict |
Source code in TM1py/Services/ThreadService.py
get_all(**kwargs)
Return a list of the currently running threads from the TM1 Server
Returns:
| Type | Description |
|---|---|
List
|
dict: the response |