Skip to main content
Version: 0.6

template

superduper.components.template

Source code

Template​

Template(self,
identifier: str,
upstream: Optional[List[ForwardRef('Component')]] = None,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
*,
template: superduper.misc.typing.JSON,
template_variables: Optional[List[str]] = None,
types: Optional[Dict] = None,
schema: Optional[Dict] = None,
blobs: Any = <factory>,
files: superduper.misc.typing.FileDict = <factory>,
substitutions: dataclasses.InitVar[typing.Optional[typing.Dict]] = None,
requirements: Optional[List[str]] = None,
default_tables: Optional[List[superduper.components.table.Table]] = None) -> None
ParameterDescription
identifierIdentifier of the instance.
upstreamA list of upstream components.
dbDatalayer instance. Datalayer instance.
templateTemplate to be used.
template_variablesVariables in the template.
typesTypes of variables in the template.
schemaSchema of the template.
blobsBlobs to be saved with the template.
filesFiles to be staged with the template.
substitutionsdict of substitutions to be made in the template.
requirementspip requirements for the template.
default_tablesDefault table to be used with the template.

Application template component.