-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix - Google Drive Issue of not loading same name files (#12022)
- Loading branch information
Showing
7 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,3 @@ poetry_requirements( | |
"google-auth-oauthlib": ["google_auth_oauthlib"], | ||
}, | ||
) | ||
|
||
python_requirements( | ||
name="reqs", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
llama-index-integrations/readers/llama-index-readers-google/requirements.txt
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
llama-index-integrations/readers/llama-index-readers-google/tests/BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
python_tests( | ||
interpreter_constraints=["==3.10.*"], | ||
) |
Empty file.
7 changes: 7 additions & 0 deletions
7
...-index-integrations/readers/llama-index-readers-google/tests/test_readers_google_drive.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from llama_index.core.readers.base import BaseReader | ||
from llama_index.readers.google import GoogleDriveReader | ||
|
||
|
||
def test_class(): | ||
names_of_base_classes = [b.__name__ for b in GoogleDriveReader.__mro__] | ||
assert BaseReader.__name__ in names_of_base_classes |