Skip to main content

listener

superduper.components.listener

Source code

Listener​

Listener(self,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
uuid: str = None,
*,
identifier: str = '',
artifacts: 'dc.InitVar[t.Optional[t.Dict]]' = None,
key: Union[str,
List[str],
Tuple[List[str],
Dict[str,
str]]],
model: superduper.components.model.Model,
select: superduper.backends.base.query.Query,
active: bool = True,
predict_kwargs: Optional[Dict] = None) -> None
ParameterDescription
identifierA string used to identify the model.
dbDatalayer instance.
uuidUUID of the leaf.
artifactsA dictionary of artifacts paths and DataType objects
keyKey to be bound to the model.
modelModel for processing data.
selectObject for selecting which data is processed.
activeToggle to False to deactivate change data triggering.
predict_kwargsKeyword arguments to self.model.predict().

Listener component.

Listener object which is used to process a column/key of a collection or table, and store the outputs.