mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-13 22:08:41 +01:00
removes tests for get_object_attr_from_path (uses get_object_by_path_parts internally)
This commit is contained in:
@@ -126,7 +126,7 @@ def get_object_by_path_parts(target_obj: Any, path_parts: list[str]) -> Any:
|
||||
try:
|
||||
target_obj = getattr(target_obj, part)
|
||||
except AttributeError:
|
||||
logger.debug("Attribute % does not exist in the object.", part)
|
||||
logger.debug("Attribute %a does not exist in the object.", part)
|
||||
return None
|
||||
return target_obj
|
||||
|
||||
|
||||
Reference in New Issue
Block a user