tlc.core.objects.tables.system_tables.indexing_tables.table_info#

Information about a table (but not a table itself).

Module Contents#

Classes#

Class

Description

TableInfo

Information about a table (but not a table itself).

API#

class tlc.core.objects.tables.system_tables.indexing_tables.table_info.TableInfo(url: tlc.core.url.Url, created: str, input_table_urls: list[tlc.core.url.Url], row_count: int, dataset_name: str = '', project_name: str = '', is_url_writable: bool = False, description: str = '')#

Information about a table (but not a table itself).

This only includes properties which are common across different table types.

static add_table_info_properties_to_schema(schema: tlc.core.schema.Schema) None#

Adds the properties for a TableInfo to a schema

get(attr_name: str, default: Any = None) Any | None#

Allows dictionary-like access to attributes. Returns the attribute value if it exists, else returns the default value.

static from_table(table: tlc.core.objects.table.Table) tlc.core.objects.tables.system_tables.indexing_tables.table_info.TableInfo#

Creates a TableInfo object from a Table object