You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to use argcomplete to complete resource names. If we return an empty list, this causes completer to being called three times (tested on zsh). This is a problem since calling the completer involves a network request. Minimal example:
✗ eval "$(register-python-argcomplete clicomp.py)"
✗ ./clicomp.py <tab>
Called completer
Called completer
Called completer
I haven't found a logic in argcomplete that causes the repeated calls. Do you know if it's shell-related? What should a completer return in case of no completions to avoid repeated invocations? Thanks.
The text was updated successfully, but these errors were encountered:
We're trying to use argcomplete to complete resource names. If we return an empty list, this causes completer to being called three times (tested on zsh). This is a problem since calling the completer involves a network request. Minimal example:
Then:
I haven't found a logic in argcomplete that causes the repeated calls. Do you know if it's shell-related? What should a completer return in case of no completions to avoid repeated invocations? Thanks.
The text was updated successfully, but these errors were encountered: