ServiceManager.
unregister_by_object
Unregister an object using the object itself.
This function allows to unregister a previously registered object.
obj (object) – The object to unregister.
KeyError – If the object has not been registered with the service layer.