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 TableInfo(
url: Url,
created: str,
input_table_urls: list[Url],
row_count: int,
dataset_name: str = '',
project_name: str = '',
is_url_writable: bool = False,
description: str = '',
object_type: str = '',
row_cache_url: 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: 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: Table,
) TableInfo

Creates a TableInfo object from a Table object