launchdarkly / api-client-python

LaunchDarkly API Client for Python
Other
5 stars 8 forks source link

AccountMembersApi.get_members() does not work #10

Open chrisdurand-RL opened 2 years ago

chrisdurand-RL commented 2 years ago

There is a type mismatch preventing this API from being used in both versions 8.0.0 and 9.0.0. We don't use the "excluded dashboards" field so I suppose our users don't have it set, which the API client doesn't expect.

Steps to reproduce:

configuration = launchdarkly_api.Configuration()
configuration.api_key["ApiKey"] = API_KEY
api_client = launchdarkly_api.ApiClient(configuration)
members_client = account_members_api.AccountMembersApi(api_client)
members_client.get_members()
launchdarkly_api.exceptions.ApiTypeError: Invalid type for variable 'excluded_dashboards'. Required value type is list and passed type was NoneType at ['received_data']['items'][0]['excluded_dashboards']
carmenquan commented 2 years ago

Thanks @chrisdurand-RL for logging this issue. I'll follow up with my team and will update you as I get more details for a timeline for a fix.

chrisdurand-RL commented 2 years ago

Hello, do you have more details about a timeline for a fix?