'suggestion in visual studio code doesn't work in python define function

I'm programming in python

example

I'm making a function in Python using Visual Studio Code but the suggestions don't include string methods like replace(), lower() and strip().

I don't know what is causing this issue and I tried every setting in Visual Studio Code. Can anyone tell me why it doesn't show the methods while other IDEs do?



Solution 1:[1]

az aks get-credentials command is used to Get access credentials for a managed Kubernetes cluster.

Example:

az aks get-credentials --name MyManagedCluster --resource-group MyResourceGroup

name and resource-group are required parameters where you should provide Name of your managed cluster and Name of your resource group.

Solution 2:[2]

First, please check your subscription and select correct subscription:

az account list --output table    
az account set --subscription <name or id>

then you doing everything correct:

az aks get-credentials --name AKSClusterName --resource-group AKSResourceGroupName

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RajkumarMamidiChettu-MT
Solution 2 nobodyfromhell