Skip to content

TM1Object

TM1Object

Parent Class for all TM1 Objects e.g. Cube, Process, Dimension.

SANDBOX_DIMENSION = 'Sandboxes' class-attribute instance-attribute

body abstractmethod property

__eq__(other)

Source code in TM1py/Objects/TM1Object.py
def __eq__(self, other):
    return self.body == other.body

__hash__()

Source code in TM1py/Objects/TM1Object.py
def __hash__(self):
    return hash(self.body)

__ne__(other)

Source code in TM1py/Objects/TM1Object.py
def __ne__(self, other):
    return self.body != other.body

__repr__()

Source code in TM1py/Objects/TM1Object.py
def __repr__(self):
    return "{}:{}".format(self.__class__.__name__, self.body)

__str__()

Source code in TM1py/Objects/TM1Object.py
def __str__(self):
    return self.body