From e06fccdc9f3295fdf8f0c726fe2a7afc3b297b48 Mon Sep 17 00:00:00 2001 From: Henrique Chaves Date: Thu, 12 Dec 2024 09:10:40 -0300 Subject: [PATCH] Format files --- giskard/core/savable.py | 6 ++++-- giskard/llm/client/bedrock.py | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/giskard/core/savable.py b/giskard/core/savable.py index e407416f17..c9bcb89a78 100644 --- a/giskard/core/savable.py +++ b/giskard/core/savable.py @@ -33,11 +33,13 @@ def dependencies(self) -> Set["Artifact"]: return set() @abstractmethod - def _save_locally(self, local_dit: Path): ... + def _save_locally(self, local_dit: Path): + ... @classmethod @abstractmethod - def load(cls, local_dir: Path, uuid: str, meta: SMT) -> "Artifact": ... + def load(cls, local_dir: Path, uuid: str, meta: SMT) -> "Artifact": + ... @classmethod def _get_meta_class(cls) -> type(SMT): diff --git a/giskard/llm/client/bedrock.py b/giskard/llm/client/bedrock.py index e5a1c01093..0d8d0dd79e 100644 --- a/giskard/llm/client/bedrock.py +++ b/giskard/llm/client/bedrock.py @@ -31,10 +31,12 @@ def _format_body( caller_id: Optional[str] = None, seed: Optional[int] = None, format=None, - ) -> Dict: ... + ) -> Dict: + ... @abstractmethod - def _parse_completion(self, completion, caller_id: Optional[str] = None) -> ChatMessage: ... + def _parse_completion(self, completion, caller_id: Optional[str] = None) -> ChatMessage: + ... def complete( self,