<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def import_by_path(path: str) -> Callable: """Import a class or function given it's absolute path. Parameters path: Path to object to import """


    module_path, _, class_name = path.rpartition('.')
    return getattr(import_module(module_path), class_name)