Skip to content

data_model_table_column

DataModelTableColumn

Bases: PoolColumn

Data model table column object to interact with data model table column specific data integration endpoints.

client class-attribute instance-attribute

client = Field(..., exclude=True)

name instance-attribute

name

Name of data model table column.

length instance-attribute

length

Length of data model table column.

type_ instance-attribute

type_

Data type of data model table column.

data_pool_id instance-attribute

data_pool_id

Id of data pool where data model table column is located.

data_model_id instance-attribute

data_model_id

Id of data model where data model table column is located.

table_name instance-attribute

table_name

Name of table where data model table column is located.

table_alias instance-attribute

table_alias

Alias of table where data model table column is located.

from_transport classmethod

from_transport(
    client,
    data_pool_id,
    data_model_id,
    table_name,
    table_alias,
    pool_column_transport,
)

Creates high-level data model table column object from given PoolColumn.

Parameters:

  • client (Client) –

    Client to use to make API calls for given data model table.

  • data_pool_id (str) –

    Id of data pool where table is located.

  • data_model_id (str) –

    Id of data model where table is located

  • table_name (str) –

    Name of data model table where column is located.

  • table_alias (Optional[str]) –

    Alias of data model table where column is located.

  • pool_column_transport (PoolColumn) –

    PoolColumn object containing properties of data model table column.

Returns:

  • DataModelTableColumn

    A DataModelTableColumn object with properties from transport and given client.