synthcity.plugins.privacy package

class PrivacyPlugins

Bases: synthcity.plugins.core.plugin.PluginLoader

add(name: str, cls: Type) synthcity.plugins.core.plugin.PluginLoader

Add a new plugin

get(name: str, *args: Any, **kwargs: Any) Any

Create a new object from a plugin. :param name: str. The name of the plugin :param &args: :param **kwargs. Plugin specific arguments:

Returns

The new object

get_type(name: str) Type

Get the class type of a plugin. :param name: str. The name of the plugin

Returns

The class of the plugin

list() List[str]

Get all the available plugins.

load(buff: bytes) Any

Load serialized plugin

reload() synthcity.plugins.core.plugin.PluginLoader
types() List[Type]

Get the loaded plugins types

Submodules