-
Notifications
You must be signed in to change notification settings - Fork 2
Consider Object Approach for DB Sources #18
Copy link
Copy link
Open
Description
Instead of treating everything like a dictionary, perhaps it would have been better to implement Python Classes for the various types of objects we are considering- Sources, Fields, Entries, Values. Then I could have methods that properly format it to/from JSON and that independently validate without having to rely on crawling through a dictionary. Could make local searching more complicated, but I would favor rewriting it with this data model in mind as it would make things more manageable as the API grows in complexity.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels