Skip to main content
Version: 0.6

plugin

superduper.components.plugin

Source code

Plugin​

Plugin(self,
upstream: Optional[List[ForwardRef('Component')]] = None,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
*,
identifier: str = '',
path: superduper.misc.typing.File,
cache_path: str = '~/.superduper/plugins') -> None
ParameterDescription
identifierUnique identifier for the plugin.
upstreamA list of upstream components.
dbDatalayer instance. Datalayer instance.
pathPath to the plugin package or module.
cache_pathPath to the cache directory where the plugin will be stored.

Plugin component allows to install and use external python packages as plugins.