TypedDict checking should be at a later point

This commit is contained in:
Dave Halter committed 2020-03-01 02:34:38 +01:00
1 parent fa63c92cf7
commit 609737322d
4 files changed
+6 -30

No files matched your search

+4
View File
@@ -133,6 +133,10 @@ class ClassMixin(object):
def py__call__(self, arguments=None):
from jedi.inference.value import TreeInstance
from jedi.inference.gradual.typing import TypedDict
if self.is_typeddict():
return ValueSet([TypedDict(self)])
return ValueSet([TreeInstance(self.inference_state, self.parent_context, self, arguments)])
def py__class__(self):