This commit is contained in:
ahmetkca 2023-03-01 03:38:39 -05:00
parent 2ae0021d9d
commit 37c8bb8563
2 changed files with 1 additions and 13 deletions

View File

@ -6,12 +6,10 @@ The documents are either the contents of the files in the repository or
the text extracted from the files using the parser.
"""
import os
from typing import Any, List, Optional
import asyncio
import base64
import binascii
import logging
import os
import pathlib
import tempfile
import enum
@ -50,16 +48,6 @@ else:
get_file_extension,
)
# from typing import Any, Callable, List, Optional, Tuple
# from llama_index.readers.base import BaseReader
# from llama_index.readers.file.base import DEFAULT_FILE_EXTRACTOR
# from llama_index.readers.llamahub_modules.github_repo.github_client import (
# BaseGithubClient, GitBranchResponseModel, GitCommitResponseModel,
# GithubClient, GitTreeResponseModel)
# from llama_index.readers.llamahub_modules.github_repo.utils import (
# BufferedGitBlobDataIterator, get_file_extension, print_if_verbose)
# from llama_index.readers.schema.base import Document
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

View File

@ -9,7 +9,7 @@ import unittest
from typing import List, Tuple
# Remove this to test changes to GithubRepositoryReader.
# pytest.skip("Skip by default due to network request.", allow_module_level=True)
pytest.skip("Skip by default due to network request.", allow_module_level=True)
from loader_hub.github_repo.utils import (
BufferedAsyncIterator,