We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff41880 commit f0ea2adCopy full SHA for f0ea2ad
pylsp/plugins/jedi_completion.py
@@ -73,7 +73,7 @@ def pylsp_completions(config, document, position):
73
_format_completion(
74
c,
75
markup_kind=preferred_markup_kind,
76
- include_params=include_params,
+ include_params=include_params if c.type in ["class", "function"] else False,
77
resolve=resolve_eagerly,
78
resolve_label_or_snippet=(i < max_to_resolve)
79
)
0 commit comments