ConfigurationService
ConfigurationService(rest)
Bases: ObjectService
Source code in TM1py/Services/ConfigurationService.py
get_active(**kwargs)
Read effective(!) TM1 config settings as dictionary from TM1 Server
Returns:
| Type | Description |
|---|---|
Dict
|
config as dictionary |
Source code in TM1py/Services/ConfigurationService.py
get_admin_host(**kwargs)
get_all(**kwargs)
get_data_directory(**kwargs)
get_product_version(**kwargs)
Ask TM1 Server for its version
:Returns: String, the version
get_server_name(**kwargs)
Ask TM1 Server for its name
:Returns: String, the server name
get_static(**kwargs)
Read TM1 config settings as dictionary from TM1 Server
Returns:
| Type | Description |
|---|---|
Dict
|
config as dictionary |
Source code in TM1py/Services/ConfigurationService.py
update_static(configuration)
Update the .cfg file and triggers TM1 to re-read the file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
configuration
|
Dict
|
|
required |
Returns:
| Type | Description |
|---|---|
Response
|
Response |