Skip to content

Commit

Permalink
Fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Jul 11, 2024
1 parent 60b396e commit 4daaa4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dolphin scripts/Entrance Randomizer/lib/graph_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from collections.abc import Sequence
from pathlib import Path
from typing import Any

from lib.constants import * # noqa: F403
from lib.constants import __version__
Expand Down Expand Up @@ -123,7 +124,8 @@ def create_edges(transitions_map: dict[tuple[int, int], tuple[int, int]]):


def create_graphml(
transitions_map: dict[tuple[int, int], tuple[int, int]],
# NOTE: dict is invariant, but Mapping doesn't implement copy
transitions_map: dict[tuple[int, int], tuple[int, int]] | dict[tuple[int, int], Any],
temp_disabled_exits: Sequence[tuple[int, int]],
seed_string: SeedType,
starting_area: int,
Expand Down

0 comments on commit 4daaa4e

Please sign in to comment.