from typing import Any


def get_full_name(obj: Any) -> str:
    """Returns identifier name for the given callable.

    Should be equal to the import path:
        obj == import_object(get_full_name(obj))

    Parameters
    ----------
    obj : object
        The object to find the classpath for.

    Returns
    -------
    The object's classpath.
    """
    if callable(obj):
        return obj.__module__ + '.' + obj.__qualname__
    else:
        return obj.__class__.__module__ + '.' + obj.__class__.__qualname__