fideslang icon indicating copy to clipboard operation
fideslang copied to clipboard

Human-readable aliasing for fides models

Open SteveDMurphy opened this issue 2 years ago • 0 comments

Is your feature request related to a specific problem?

Currently in fidesctl, the human-readable column names for a data map are defined in a constant. This seems to be misaligned with the rest of our codebase which relies heavily on pydantic models to define and maintain structure and attribution (i.e. descriptions) of data across the fides ecosystem.

Describe the solution you'd like

Add human-readable values, utilizing the alias attribute, to be used by other fides products.

Describe alternatives you've considered, if any

The use case that inspires this issue built a constant (dict) with Pandas DataFrame columns mapped to a human-readable equivalent, which is currently passed as the first set of records to a data map item. See fidesctl#779

Additional context

This could yet be challenging due to some required separation when using a DataFrame to join resources to construct data map items.

SteveDMurphy avatar Jun 24 '22 02:06 SteveDMurphy