mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-10 07:35:48 +08:00
Use different limits for references and dynamic calls
This commit is contained in:
1 parent
c12cbf2106
commit
d9960081f5
2 files changed
+14
-5
No files matched your search
@@ -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]
|
||||
|
||||
|
||||
Reference in new issue
Block a user