From 738b5adeb809185be44aa8e1e78871a7d204ffe8 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Fri, 21 Jul 2023 00:06:40 +0900 Subject: [PATCH] Fix typo in roles.py seperated -> separated --- server/llm_engine_server/core/aws/roles.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/llm_engine_server/core/aws/roles.py b/server/llm_engine_server/core/aws/roles.py index 52c71d48..65548087 100644 --- a/server/llm_engine_server/core/aws/roles.py +++ b/server/llm_engine_server/core/aws/roles.py @@ -196,14 +196,14 @@ def parse_arn_string(arn: str) -> ArnData: if not 2 <= len(bits) <= 3: raise ValueError( f"Invalid format for AWS ARN string: {arn} -- " - f"Expecting either 2 or 3 parts seperated by '/'" + f"Expecting either 2 or 3 parts separated by '/'" ) account_and_source: List[str] = bits[0].split("::") if len(account_and_source) != 2: raise ValueError( f"Expecting ARN string to have 2 parts in the first '/' part, " - f"seperated by '::'. Instead found {account_and_source} from " + f"separated by '::'. Instead found {account_and_source} from " f"arn={arn}" ) @@ -234,8 +234,8 @@ def parse_arn_string(arn: str) -> ArnData: except ValueError as err: raise ValueError( "ARN format invalid: expecting account ID to appear as 2nd to last " - "value seperated by ':' within the first value seperated by '/' and " - "second value seperated by '::' -- " + "value separated by ':' within the first value separated by '/' and " + "second value separated by '::' -- " f"arn={arn} and expecting {account_str} to be account ID" ) from err