Задать настройки формата факта
Для настройки формата факта используется метод set_measure_format:
Блок кода |
---|
|
def set_measure_format(self, measure_names: list[str], measure_formats: list[dict],
set_to_default: bool = False) -> dict: |
...
Блок кода |
---|
|
{'state': 1,
'queries': [{'uuid': 'efe76be3-1a8b60e0-64904684-4c42cb8c',
'command': {'plm_type_code': 207, 'state': 16}}]} |
Получить настройки формата факта
Для получения настроек формата факта используется метод get_measure_format:
Блок кода |
---|
|
def get_measure_format(self, measure_names: list[str] = None, return_id: bool = False) -> dict[str, dict] |
...