Skip to content

allowed_email_address_get returns string #5

Description

@ruester

Calls to allowed_email_address_get return a string object which is not nice to evaluate the API response afterwards.
I used the following workaround to get a dictionary object for the response:

api_response = api_instance.allowed_email_address_get()
allowed = eval(api_response)
# now allowed.get('data') works

Would be best to get the dictionary object directly from allowed_email_address_get and not rely on being able to use eval for the returned string.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions