Skip to content

View

View(cube, name)

Bases: TM1Object

Abstraction of TM1 View serves as a parentclass for TM1py.Objects.MDXView and TM1py.Objects.NativeView

Source code in TM1py/Objects/View.py
def __init__(self, cube: str, name: str):
    self._cube = cube
    self._name = name

cube property writable

mdx property

name property writable

body() abstractmethod

Source code in TM1py/Objects/View.py
@abstractmethod
def body(self) -> str:
    pass