etna.core.load#

load(path: Path, **kwargs: Any) Any[source]#

Load saved object by path.

Warning

This method uses dill module which is not secure. It is possible to construct malicious data which will execute arbitrary code during loading. Never load data that could have come from an untrusted source, or that could have been tampered with.

Parameters:
  • path (Path) – Path to load object from.

  • kwargs (Any) – Parameters for loading specific for the loaded object.

Returns:

Loaded object.

Return type:

Any