Skip to content

Commit

Permalink
[GDrive] Fix mypy error for retrieve_file_texts return type
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmx81 committed Sep 12, 2024
1 parent b0cd8c7 commit 9b93785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdrive/provider/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


def process_data_with_service(data, request_credentials: Credentials):
results = []
results: list[dict] = []
files = data.get("files", [])
if not files:
logger.debug("No files found.")
Expand Down Expand Up @@ -66,7 +66,7 @@ def process_data_with_service(data, request_credentials: Credentials):
return results


def retrieve_file_texts(files, request_credentials: Credentials) -> [str, str]:
def retrieve_file_texts(files, request_credentials: Credentials) -> dict[str, str]:
missing_ids_to_urls = {}
id_to_texts = {}

Expand Down

0 comments on commit 9b93785

Please sign in to comment.