diff --git a/b2/_cli/argcompleters.py b/b2/_cli/argcompleters.py index d3edfd658..dc070eebe 100644 --- a/b2/_cli/argcompleters.py +++ b/b2/_cli/argcompleters.py @@ -8,6 +8,10 @@ # ###################################################################### +# We import all the necessary modules lazily in completers in order +# to avoid upfront cost of the imports when argcompleter is used for +# autocompletions. + from itertools import islice diff --git a/changelog.d/+improve_autocomplete_performance.fixed.md b/changelog.d/+improve_autocomplete_performance.fixed.md new file mode 100644 index 000000000..e69de29bb