Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/azure-cli-core/azure/cli/core/command_recommender.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ def _disable_aladdin_service(self):
1. CLI context is missing
2. In air-gapped clouds
3. In testing environments
4. In autocomplete mode

:return: whether Aladdin service need to be disabled or not
:type: bool
Expand All @@ -357,6 +358,9 @@ def _disable_aladdin_service(self):
if self.cli_ctx.__class__.__name__ == 'DummyCli':
return True

if self.cli_ctx.data['completer_active']:
return True

return False

def _normalize_parameters(self, args):
Expand Down