Find answers from the community

Updated 3 months ago

GithubRepoReader bug

Getting this error when trying to use the GithubRepositoryReader:
Plain Text
GithubClient.get_branch() got an unexpected keyword argument 'timeout'

I just checked the bug reports for GithubRepositoryReader and saw FilterType was added back, so I updated and now I'm getting this error.
i
L
7 comments
I don't fully understand what I'm looking for in the github for this file, but in the llama-index-integrations/readers/llama-index-readers-github/llama_index/readers/github/repository/utils.py file in the github repo for this, I found that there isn't a timeout section here:
Plain Text
    def __init__(
        self,
        blobs_and_paths: List[Tuple[GitTreeResponseModel.GitTreeObject, str]],
        github_client: GithubClient,
        owner: str,
        repo: str,
        loop: asyncio.AbstractEventLoop,
        buffer_size: int,
        verbose: bool = False,
):

Around L99.
I would test this, but I do not know to edit my current install of llama-index...
do pip install -U llama-index-readers-github
I just fixed this the other day
do you guys plan on supporting github wiki pages through this?
no plans, but definitely open to PRs
Huh, I’d have no clue how to add the ability, maybe I’ll look into it in the future
Add a reply
Sign up and join the conversation on Discord