SqlDataSourceService
from skipcheck_tm1.services import SqlDataSourceService The ODBC data sources on TM1's host, which processes can read from
(DataSource.Type ODBC). They're the host's ODBC configuration, not
TM1's: read only here.
List the data sources:
# The ODBC sources a process could read from, on TM1's host
return [source.name for source in tm1.sql_data_sources.list() if source.name is not None]
The asyncio flavor, skipcheck_tm1.aio, has the same methods to await, on AsyncSqlDataSourceService.
Members
list | Their names and descriptions. |
get | A Tm1NotFoundError if the host has none by that name. |
list
list(query: ODataQuery | None = None, **options: Any) -> list[SQLDataSource]GET SQLDataSources: their names and descriptions.
TM1 REST EntitySet SQLDataSources
get
get(name: str, query: ODataQuery | None = None, **options: Any) -> SQLDataSourceGET SQLDataSources('name'): a Tm1NotFoundError if the host has none by that name.
TM1 REST EntitySet SQLDataSources