Skip to main content
Version: 0.6

table

superduper.components.table

Source code

Table​

Table(self,
identifier: str,
upstream: Optional[List[ForwardRef('Component')]] = None,
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,
component: bool = False) -> None
ParameterDescription
identifierIdentifier of the instance.
upstreamA list of upstream components.
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
componentWhether the table is a component

A component that represents a table in a database.