def resolve_obj_path(obj_path: str) -> tuple:
    """Resolve object module and attribute names from dot notated path.

    Example:
        >>> _resolve_obj_path("uuid.uuid4")
        ("uuid", "uuid4")
        >>> _resolve_obj_path("foo.bar.baz.uuid4")
        ("foo,bar.baz", "uuid4")
    """
    module_name, attribute_name = obj_path.rsplit(".", 1)

    return module_name, attribute_name