Skip to content

Commit

Permalink
fixed some small issues
Browse files Browse the repository at this point in the history
  • Loading branch information
BrentBlanckaert committed Dec 15, 2024
1 parent 5dabc80 commit 69a77d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tested/nat_translation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import re
import sys
from typing import cast, Any
from typing import cast

import yaml

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

0 comments on commit 69a77d3

Please sign in to comment.