gigl.common.utils.import_obj#
- gigl.common.utils.os_utils.import_obj(obj_path: str)#
Given an object path by name (e.g. “module_a.module_b.object_c”), returns object_c.
- Args:
obj_path (str): The object path by name.
- Returns:
object: The imported object.