Skip to main content
Version: 0.7

table

superduper.components.table

Source code

Table​

Table(self,
identifier: str,
upstream: Optional[List[ForwardRef('Component')]] = None,
compute_kwargs: Dict = <factory>,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
*,
fields: Optional[Dict] = None,
primary_id: str = 'id',
data: superduper.components.component.Component | None = None,
path: str | None = None,
is_component: bool = False) -> None
ParameterDescription
identifierIdentifier of the instance.
upstreamA list of upstream components.
compute_kwargsKeyword arguments to manage the compute environment.
dbDatalayer instance. Datalayer instance.
fieldsThe schema of the table
primary_idThe primary id of the table
dataData to insert post creation
pathThe path to the class
is_componentWhether the table is a component

A component that represents a table in a database.