@classmethod
def from_repo(cls, repo: str, branch: str='master') -> 'GithubPath':
    "Factory to creates a GithubPath from a repo name.\n\n    Args:\n      repo: Repo name (e.g. `tensorflow/datasets`)\n      branch: Branch name (e.g. `master`, 'v1.2.0', 'EXAMPLE_KEY'). Default to\n        master.\n\n    Returns:\n      github_path: The repository root dir at head\n    "
    return cls(f'github://{repo}/tree/{branch}')
Factory to creates a GithubPath from a repo name.

Args:
  repo: Repo name (e.g. `tensorflow/datasets`)
  branch: Branch name (e.g. `master`, 'v1.2.0', 'EXAMPLE_KEY'). Default to
    master.

Returns:
  github_path: The repository root dir at head
@classmethod
def from_repo(cls, repo: str, branch: str='master') -> 'GithubPath':
    "Factory to creates a GithubPath from a repo name.\n\n    Args:\n      repo: Repo name (e.g. `tensorflow/datasets`)\n      branch: Branch name (e.g. `master`, 'v1.2.0', 'EXAMPLE_KEY'). Default to\n        master.\n\n    Returns:\n      github_path: The repository root dir at head\n    "
    return cls(f'github://{repo}/tree/{branch}')