aea.components.loader¶
This module contains utilities for loading components.
component_
type_
to_
class¶
Get the component class from the component type.
Arguments:
component_type
: the component type
Returns:
the component class
load_
component_
from_
config¶
Load a component from a directory.
Arguments:
configuration
: the component configuration.args
: the positional arguments.kwargs
: the keyword arguments.
Returns:
the component instance.
AEAPackageNotFound Objects¶
Exception when failed to import package, cause not exists.