get¶
-
tenjint.service.
get
(name)[source]¶ Get an object by name.
This function allows to retrieve objects that have been registered with the service layer (
tenjint.service.register()
) using their name.- Parameters
name (str) – The name of the object to retrieve
- Raises
ValueError – If the service layer has not been initialized.
KeyError – If the object cannot be found.