Skip to content

Commit b9008a4

Browse files
committed
Fix sphinx_autodoc_typehints not resolving JsonValue
1 parent 45b47b9 commit b9008a4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,6 @@
136136
"niquests": ("https://niquests.readthedocs.io/en/stable", None),
137137
"niquests-cache": ("https://niquests-cache.readthedocs.io/en/stable/", None),
138138
}
139+
autodoc_type_aliases = {
140+
"JsonValue": "typing.Any",
141+
}

0 commit comments

Comments
 (0)