Skip to content

Commit

Permalink
review comments.
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Tripathi <rauhl.psit.ec@gmail.com>
  • Loading branch information
Rahul Tripathi committed Apr 2, 2024
1 parent 52f684a commit 1284a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/community/langchain_google_community/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class GoogleDriveLoader(BaseLoader, BaseModel):
load_auth: bool = False
"""Whether to load authorization identities."""

def _get_identity_metadata_from_id(self, id: str):
def _get_identity_metadata_from_id(self, id: str)-> List[str]:
"""Fetch the list of people having access to ID file."""
try:
from googleapiclient.discovery import build
from googleapiclient.discovery import build # type: ignore[import]
except ImportError as exc:

Check failure on line 55 in libs/community/langchain_google_community/drive.py

View workflow job for this annotation

GitHub Actions / cd libs/community / - / make lint #3.8

Ruff (I001)

langchain_google_community/drive.py:54:1: I001 Import block is un-sorted or un-formatted

Check failure on line 55 in libs/community/langchain_google_community/drive.py

View workflow job for this annotation

GitHub Actions / cd libs/community / - / make lint #3.11

Ruff (I001)

langchain_google_community/drive.py:54:1: I001 Import block is un-sorted or un-formatted
raise ImportError(
"You must run "
Expand Down

0 comments on commit 1284a0a

Please sign in to comment.