Skip to main content
Version: 0.6

component

superduper.components.component

Source code

ensure_setup​

ensure_setup(func)
ParameterDescription
funcDecorator function.

Decorator to ensure that the model is initialized before calling the function.

Component​

Component(self,
identifier: str,
upstream: Optional[List[ForwardRef('Component')]] = None,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None) -> None
ParameterDescription
identifierIdentifier of the instance.
upstreamA list of upstream components.
dbDatalayer instance. Datalayer instance.

Base class for all components in superduper.io.

Class to represent superduper.io serializable entities that can be saved into a database.

:param db: Datalayer instance.