Refactor Jedi so we use stub modules as much as possible
This commit is contained in:
1 parent
3afcfccba8
commit
0e42df2da7
12 files changed
+125
-86
No files matched your search
@@ -625,6 +625,9 @@ class AnnotatedClass(AbstractAnnotatedClass):
|
||||
def get_given_types(self):
|
||||
return list(_iter_over_arguments(self._index_context, self._context_of_index))
|
||||
|
||||
def annotate_other_class(self, cls):
|
||||
return AnnotatedClass(cls, self._index_context, self._context_of_index)
|
||||
|
||||
|
||||
class AnnotatedSubClass(AbstractAnnotatedClass):
|
||||
def __init__(self, class_context, given_types):
|
||||
|
||||
Reference in new issue
Block a user