Small improvements to generator/async completions
This commit is contained in:
1 parent
be993d132e
commit
4f7dfd14b3
9 files changed
+16
-14
No files matched your search
@@ -139,6 +139,12 @@ class InferenceState:
|
||||
typing_module, = self.import_module(('typing',))
|
||||
return typing_module
|
||||
|
||||
@property
|
||||
@inference_state_function_cache()
|
||||
def types_module(self):
|
||||
typing_module, = self.import_module(('types',))
|
||||
return typing_module
|
||||
|
||||
def reset_recursion_limitations(self):
|
||||
self.recursion_detector = recursion.RecursionDetector()
|
||||
self.execution_recursion_detector = recursion.ExecutionRecursionDetector(self)
|
||||
|
||||
Reference in new issue
Block a user