Skip to content

Commit

Permalink
Use JSON from ansible-compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos committed Oct 14, 2024
1 parent 0be80cf commit 7d7e918
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/molecule/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@
from typing import Any, AnyStr, NoReturn
from warnings import WarningMessage

Basic = str | float | bool
NestedDict = MutableMapping[str, Basic | None | list[Basic | "NestedDict"] | "NestedDict"]
from ansible_compat.types import JSON

NestedDict = MutableMapping[str, JSON]
_T = TypeVar("_T", bound=NestedDict)


Expand Down

0 comments on commit 7d7e918

Please sign in to comment.