intrinsic.solutions.providers.SkillProvider
![]() View source on GitHub |
A container that provides access to the skills of a solution.
Skill providers are directly user-facing. Hence __dir__ and __getattr__
may be used by auto-completion and must adhere to the standard interface,
which this abstract base class enforces.
Methods
get_skill_classes
View source
@abc.abstractmethodget_skill_classes() -> Iterable[Type[Any]]
Returns all available skill classes.
get_skill_ids
View source
@abc.abstractmethodget_skill_ids() -> Iterable[str]
Returns all available skill ids.
get_skill_ids_and_classes
View source
@abc.abstractmethodget_skill_ids_and_classes() -> Iterable[tuple[str, Type[Any]]]
Returns all available skill ids and corresponding skill classes.
update
View source
@abc.abstractmethodupdate() -> None
Refreshes the set of skills for the provider.
This causes the provider to regenerate its set of skills. This should be called whenever a skill is added, deleted, or modified in a workcell."
getitem
View source
@abc.abstractmethodgetitem( skill_name: str ) -> Type[Any]
Returns the skill class with the given skill id.
