Closed uriafranko closed 6 months ago
@uriafranko do you have a sample code snippet from the SDK ? I think there is a problem with how the enum is being stringified.
I am running into the same issue. Here is a very simple case
response1 = client.hris.employees.list(expand=EmployeesListRequestExpand.COMPANY)
response1.results[0].company # returns a string
response2 = client.hris.employees.list(expand="company")
response2.results[0].company # returns a company object
This issue is not isolated to the expand
parameter since show_enum_origins
behaves the same.
When using the Expand enum it sends to the URL the written name of the object OpportunitiesListRequestExpand.STAGE instead of just "stage"