From 69a77d30edada68c9b33ea11b976266c774dbf09 Mon Sep 17 00:00:00 2001 From: breblanc Date: Sun, 15 Dec 2024 19:29:15 +0100 Subject: [PATCH] fixed some small issues --- tested/nat_translation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tested/nat_translation.py b/tested/nat_translation.py index 8dc32424..1b6edfec 100644 --- a/tested/nat_translation.py +++ b/tested/nat_translation.py @@ -1,6 +1,6 @@ import re import sys -from typing import cast, Any +from typing import cast import yaml @@ -56,7 +56,7 @@ def format_string(string: str, flattened) -> str: def translate_io( io_object: YamlObject, key: str, language: str, flat_stack: dict -) -> str | dict: +) -> YamlObject: if isinstance(io_object, NaturalLanguageMap): assert language in io_object io_object = io_object[language]