-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
Describe the bug
Getting the following error:
Invalid value for `value` (edge.laptop_large), must be one of ['laptop_large', 'tablet', 'mobile_small', 'chrome.laptop_large', 'chrome.tablet', 'chrome.mobile_small', 'firefox.laptop_large', 'firefox.tablet', 'firefox.mobile_small']
It looks like the recent addition of edge broke clients due to the strict validity.
To Reproduce
Set up synthetic browser test with one of the edge types selected. And then call list_tests()
on the API instance.
api_instance = synthetics_api.SyntheticsApi(api_client)
res = api_instance.list_tests()
Expected behavior
All synthetic tests are listed, including ones with edge.
Screenshots
Environment and Versions (please complete the following information):
Python 3.9 with both 1.1.0 API client or master
Additional context
Looks to be related to this validation
datadog-api-client-python/src/datadog_api_client/v1/model/synthetics_device_id.py
Line 45 in cdd8843
allowed_values = { |