diff --git a/src/hexdoc/utils/deserialize/toml.py b/src/hexdoc/utils/deserialize/toml.py index 17f03051..e84de695 100644 --- a/src/hexdoc/utils/deserialize/toml.py +++ b/src/hexdoc/utils/deserialize/toml.py @@ -8,8 +8,6 @@ # TODO: there's (figuratively) literally no comments in this file -TOMLDict = dict[str, "TOMLValue"] - TOMLValue = ( str | int @@ -19,10 +17,12 @@ | datetime.date | datetime.time | list["TOMLValue"] - | TOMLDict + | dict[str, "TOMLValue"] | None ) +TOMLDict = dict[str, "TOMLValue"] + def fill_placeholders(data: TOMLDict): _fill_placeholders(data, [data], set())