Closed
Description
As reported here - Azure/azure-devops-cli-extension#755
The get_agents function returns a json object as below -
[
{
"accessPoint": "CodexAccessMapping",
"assignedAgentCloudRequest": null,
"assignedRequest": null,
"authorization": {
"authorizationUrl": null,
..
..
}
},
"createdOn": "2019-09-11T06:38:19.797000+00:00",
"enabled": true,
"id": 89,
"lastCompletedRequest": null,
"maxParallelism": 1,
"name": "ATBAGGA-Agent",
"oSDescription": null,
"osDescription": "Microsoft Windows 10.0.18362 ",
"pendingUpdate": null,
"properties": null,
"provisioningState": "Provisioned",
"status": "online",
"statusChangedOn": null,
"systemCapabilities": null,
"userCapabilities": null,
"version": "2.155.1"
}
]
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).