def _get_dependencies(dependencies):
    """Method gets dependent modules

    Args:
       dependencies (dict): dependent modules

    Returns:
       list

    """

    mods = []
    for key, val in dependencies.items():
        mods.append(val['package'])

    return mods