chore: update ft_client to modern typing syntax

This commit is contained in:
Matthias
2024-10-04 07:08:56 +02:00
parent 8ec5dd6def
commit 628983d123
2 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import logging
import re
import sys
from pathlib import Path
from typing import Any, Dict
from typing import Any
import rapidjson
@@ -81,7 +81,7 @@ def print_commands():
print(f"{x}\n\t{doc}\n")
def main_exec(parsed: Dict[str, Any]):
def main_exec(parsed: dict[str, Any]):
if parsed.get("show"):
print_commands()
sys.exit()