1
0
forked from VimPlug/jedi

Use different limits for references and dynamic calls

This commit is contained in:
Dave Halter
2020-01-21 09:22:16 +01:00
parent c12cbf2106
commit d9960081f5
2 changed files with 14 additions and 5 deletions

View File

@@ -119,7 +119,10 @@ def _search_function_arguments(module_context, funcdef, string_name):
if settings.dynamic_params_for_other_modules:
module_contexts = get_module_contexts_containing_name(
inference_state, [module_context], string_name)
inference_state, [module_context], string_name,
# Limit the amounts of files to be opened massively.
limit_reduction=10,
)
else:
module_contexts = [module_context]