import typing


def get_owner_and_repo(location: str) -> typing.Tuple[str, str]:
    """
    Get the owner and repo name from a location string.

    Parameters
    ----------
    location : str
        The location string.

    Returns
    -------
    owner : str
        The owner of the repo.
    repo : str
        The repo name.
    """
    owner, repo = location.strip("/").split("/")
    return (owner, repo)