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
The oSDescription is the python property name. The key value is osDescription, which is the json name to serialize to or deserialize from. It is basically saying to take the the value of the json kvp with key 'osDescription and assign that value to the python property oSDescription, so I expcect this to work fine.
The property name oSDescription does not follow python naming guidance, and should be os_description, but that should not cause the problem you mention.
The value in the 5.0 version of the api is wrong on this line, so i expect you are using 5.0 APIs or an older version of the sdk:
As reported here - Azure/azure-devops-cli-extension#755
The get_agents function returns a json object as below -
The issue is due to different case in key (osDescription) returned by the API than the object in python client here where it is (oSDescription).
The text was updated successfully, but these errors were encountered: