Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksilimkhan1 committed Oct 31, 2023
1 parent b13b3d9 commit 6102c35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spacy_llm/models/rest/bedrock/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from enum import Enum
from typing import Any, Dict, Iterable, List, Optional, Tuple


from ..base import REST


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6102c35

Please sign in to comment.