1
0
forked from VimPlug/jedi

TypedDict checking should be at a later point

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

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):