def get_parent_repository(username_repo):
    username, repo = username_repo
    url = GIT_REPO_ENDPOINT % (username, repo)
    response = requests.get(url)
    data = response.json()
    try:
        parent = data['parent']['full_name']
        username_repo = parent.split('/')
    except KeyError:
        pass
    return username_repo
dataset/ETHPy150Open myusuf3/octogit/octogit/cli.py/get_parent_repository/original