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