cleaned type

This commit is contained in:
Yannick Stephan
2025-02-09 11:46:01 +01:00
parent 572a75b141
commit 1f8fc44591
3 changed files with 21 additions and 13 deletions

View File

@@ -98,7 +98,7 @@ def locate_json_string_body_from_string(content: str) -> Union[str, None]:
return None
def convert_response_to_json(response: str) -> dict:
def convert_response_to_json(response: str) -> dict[str, Any]:
json_str = locate_json_string_body_from_string(response)
assert json_str is not None, f"Unable to parse JSON from response: {response}"
try: