Open
Description
Description
The meta_data
field is a JSONB field in the database intended for holding extra information we receive from the API. Presently, we have several unique ways of cleaning this data in various providers:
All of these tend to operate in a similar manner: pull out fields from the response and add them to the meta_data
dictionary only if they're not None
.
It would be nice to move the None
-filtering logic to the MediaStore
class's validation steps so that we can be primarily concerned about which fields to pull rather than the mechanism by which we don't add (or remove after) None
values.
Additional context
Implementation
- 🙋 I would be interested in implementing this feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Type
Projects
Status
📋 Backlog