You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,7 @@ If autocompleting import paths doesn't work you can find the correct path by usi
44
44
on the thing you want to explicitly annotate. For `TypedDict`s this will also give you useful info about the structure of the dictionary.
45
45
46
46
### Recursive types
47
-
Mypy unfortunately doesn't support [recursive types](https://github.com/python/mypy/issues/731).
48
-
Some of Google's APIs have recursive type definitions in their schemas. Due to the lack of support these
49
-
are only annotated as regular dictionaries, so the validity of the keys and values won't be checked.
47
+
The stubs previously didn't include recursive type definitions due to a lack of type checker support, but this is now included. Note that if you're using Mypy, v0.990 or higher is required for this to work.
50
48
51
49
### Stubs for non-API-specific parts
52
50
There are detailed stubs for the API services, but other parts of the library have only been annotated with [stubgen](https://mypy.readthedocs.io/en/stable/stubgen.html),
0 commit comments