async_check_exist¶
- async classmethod FinancialCube.async_check_exist(ele_name, ele_type=None, folder=None, path=None, silent=True)¶
- 异步查询元素是否存在 - 参数
- 返回类型
- Union[- ModuleServerNameVO,- ElementRelationInfo,- int]
- 返回
- 当指定 - silent为- True时,返回查询到的元素个数(- int类型)。
- 当指定 - silent为- False时,如果元素个数唯一,返回该元素 (- ModuleServerNameVO或- ElementRelationInfo类型),否则将报错。