-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
data modelRelated to the hermes data modelRelated to the hermes data modelhelp wantedExtra attention is neededExtra attention is needed
Description
While testing ld_dict #410 a few things came to notice:
- You can not update with a nested ld_dict or ld_list, only when it is in the ld_container structure with hierarchy.
- The nesting for ld_container with variables is pointing at each other, therefore you have to assign None first.
- The context is only applied on the key side not on the value side
- The context from_dict has to be in the expanded version right now, even though every thing else can be in short form
- Full_context with two of the same context does not bring the same context together, instead it just appends both.
- @context and context in from_dict are not following each other. Only @context is applied.
- rename is_ld_dict to is_expanded_ld_dict
Some of the things are probably by intention because we expect the user to use it properly. But others should at least be discussed. However all the points are important for a higher level class like the api (#432 ).
Please see the FIXME notes in test_ld_dict for more understanding and especially the commit a08eaf2 (a08eaf2) where all these things were showing up.
Metadata
Metadata
Assignees
Labels
data modelRelated to the hermes data modelRelated to the hermes data modelhelp wantedExtra attention is neededExtra attention is needed