-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Because
At the moment, various classes in mmif.serialize package implements .get() and .__getitem__() methods, but their behavior are
- not consistent across classes
- not well-documented in one place (they all have decent docstring, but no aggregate of them exists)
- not so "pythonic" in that their behavior often deviates from standard python
getand__getitem__methods in built-in classes.
Done when
- all existing (de-)serialization classes are categorized into "dict-likes" and "list-likes"
- inspect current implementation of
getand__getitem__for each - update, if necessary, the methods to match those of python
dict's andlist's
Additional context
This proposed change will vastly break compatibility of the SDK to existing CLAMS app code, so we need a version marker that can mark this breakage. (#293 )
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done