From 6102c355164bb8221eb5583f5c94dc575b862af7 Mon Sep 17 00:00:00 2001 From: Vivek Silimkhan Date: Tue, 31 Oct 2023 10:47:17 +0530 Subject: [PATCH] Fix type --- spacy_llm/models/rest/bedrock/model.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spacy_llm/models/rest/bedrock/model.py b/spacy_llm/models/rest/bedrock/model.py index ed260f3f..ea62b1b8 100644 --- a/spacy_llm/models/rest/bedrock/model.py +++ b/spacy_llm/models/rest/bedrock/model.py @@ -4,7 +4,6 @@ from enum import Enum from typing import Any, Dict, Iterable, List, Optional, Tuple - from ..base import REST @@ -172,7 +171,7 @@ def _verify_auth(self) -> None: raise NoCredentialsError @property - def credentials(self) -> Dict[str, str]: + def credentials(self) -> Dict[str, Optional[str]]: # type: ignore return self.get_session_kwargs() @classmethod