registry_add#
- seli.registry_add(name: str, value: Any, overwrite: bool = False) None[source]#
Add a something to the registry. Everything that is added to the registry can be serialized and deserialized later.
- Parameters:
name (str) – The name of the module to register.
value (Any) – The value to register.
overwrite (bool) – If True, overwrite the existing value if it is already registered.