AttributeError: 'ClientFactoryV5_1' object has no attribute 'get_test_results_client'
test_results_client = connection.clients.get_test_results_client() test_results_client = connection.clients_v5_1.get_test_results_client() test_results_client = connection.clients_v6_0.get_test_results_client()
I get the same attribute error of get_test_results having no attribute. I looked in client_factory, client_factory[5.1], and client_factory[6.0] and the method is there.
-Any ideas?
Yes, as you said the method is there: https://github.com/microsoft/azure-devops-python-api/blob/85bd41729c8fd6249f4866844ecf9bb131e2dcfe/azure-devops/azure/devops/v5_1/client_factory.py#L333
Check your imports to ensure you are not referencing an older version of the sdk.
Yes, as you said the method is there:
https://github.com/microsoft/azure-devops-python-api/blob/85bd41729c8fd6249f4866844ecf9bb131e2dcfe/azure-devops/azure/devops/v5_1/client_factory.py#L333
Check your imports to ensure you are not referencing an older version of the sdk.
Could you please elaborate further? Specifically dealing with checking imports and older sdk version.