We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf493bb commit f437752Copy full SHA for f437752
ChangeLog
@@ -56,6 +56,10 @@ Release date: TBA
56
57
Closes #3525
58
59
+* Fix false-positive ``not-callable`` with alternative ``TypedDict`` syntax
60
+
61
+ Closes #4715
62
63
* Clarify documentation for consider-using-from-import
64
65
* Don't emit ``unreachable`` warning for empty generator functions
tests/functional/t/typedDict.py
@@ -23,3 +23,9 @@ class CustomTD3(CustomTD2):
23
my_dict = CustomTD(var=1)
24
my_dict["var"]
25
my_dict["var"] = 2
26
27
28
+# https://github.com/PyCQA/pylint/issues/4715
29
+# Instance of TypedDict should be callable
30
+Link = TypedDict("Link", {"href": str})
31
+Link(href="foo")
0 commit comments