(import_from, name)
return "{}.{}".format(module_name, partial_basename)
Get the full path of a name from a ``from x import y`` statement.

    :param import_from: The astroid node to resolve the name of.
    :type import_from: astroid.nodes.ImportFrom
    :param name:
    :type name: str

    :returns: The full import path of the name.
    :rtype: str
Get the full path of a name from a ``from x import y`` statement.
Get the full path of a name from a from x import y statement .
def get_full_import_name(import_from, name):
    """Get the full path of a name from a ``from x import y`` statement.

    :param import_from: The astroid node to resolve the name of.
    :type import_from: astroid.nodes.ImportFrom
    :param name:
    :type name: str

    :returns: The full import path of the name.
    :rtype: str
    """
    partial_basename = resolve_import_alias(name, import_from.names)

    module_name = import_from.modname
    if import_from.level:
        module = import_from.root()
        assert isinstance(module, astroid.nodes.Module)
        module_name = module.relative_to_absolute_name(
            import_from.modname, level=import_from.level
        )

    return "{}.{}".format(module_name, partial_basename)
def get_full_import_name ( import_from , name ) : partial_basename = resolve_import_alias ( name , import_from . names ) module_name = import_from . modname if import_from . level : module = import_from . root ( ) assert isinstance ( module , astroid . nodes . Module ) module_name = module . relative_to_absolute_name ( import_from . modname , level = import_from . level ) return "{}.{}" . format ( module_name , partial_basename )