Alation / Allie-SDK

A Python library for the Alation REST APIs.
https://alation.github.io/Allie-SDK/
Apache License 2.0
9 stars 2 forks source link

Values are not returned for multi-value pickers #21

Closed diethard-at-alation closed 3 months ago

diethard-at-alation commented 3 months ago

For GET requests, values are not returned for multi-value pickers/custom fields.

diethard-at-alation commented 3 months ago

Other problems spotted:

  1. Item classes are used to return the payload. Item classes should really only be used to post a given payload.
  2. Values of single value custom fields are returned within a list.

Suggested solution: Ad 1) Item classes should only be used for sending payloads, they should not be used for the data that is being returned. If this is the case then it should be fixed to meet the standard of the SDK. Ad 2) Values should be returned in the same way that Alation is returning them, so make sure that no list is used for single value custom fields.