From 4bada625925e1ae5f798693caf0437f7590c4155 Mon Sep 17 00:00:00 2001 From: wossnameGitHub <423368@student.fontys.nl> Date: Sun, 14 Jul 2024 12:18:03 +0200 Subject: [PATCH] type specification for dict --- Dolphin scripts/Entrance Randomizer/lib/graph_creation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dolphin scripts/Entrance Randomizer/lib/graph_creation.py b/Dolphin scripts/Entrance Randomizer/lib/graph_creation.py index e0d397a..3aab49c 100644 --- a/Dolphin scripts/Entrance Randomizer/lib/graph_creation.py +++ b/Dolphin scripts/Entrance Randomizer/lib/graph_creation.py @@ -47,7 +47,7 @@ class LineType(IntEnum): CLOSED_DOOR_EDGE_COLOR = "#ff0000" # Red -def create_own_style(params: dict): +def create_own_style(params: dict[str, str]): output_text = ' ownStyles="{"0":{' first_key = True for key, value in params.items():