ObjectService
ObjectService(rest_service)
Parent class for all Object Services
Constructor, Create an instance of ObjectService
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
rest_service
|
RestService
|
|
required |
Source code in TM1py/Services/ObjectService.py
BINARY_HTTP_HEADER = {'Content-Type': 'application/json;charset=UTF-8'}
class-attribute
instance-attribute
BINARY_HTTP_HEADER_PRE_V12 = {'Content-Type': 'application/octet-stream; odata.streaming=true'}
class-attribute
instance-attribute
ELEMENT_ATTRIBUTES_PREFIX = '}ElementAttributes_'
class-attribute
instance-attribute
SANDBOX_DIMENSION = 'Sandboxes'
class-attribute
instance-attribute
binary_http_header = self.BINARY_HTTP_HEADER
instance-attribute
is_admin
property
is_data_admin
property
is_ops_admin
property
is_security_admin
property
version
property
determine_actual_object_name(object_class, object_name, **kwargs)
Source code in TM1py/Services/ObjectService.py
suggest_unique_object_name(random_seed=None)
Generate hash based on tm1-session-id, local-thread-id and random id to guarantee unique name avoids name conflicts in multithreading operations