Skip to content

set() silently fails and doesn't set new/non existent attributed to listed elements #202

@anexiole

Description

@anexiole

two issues:

  1. set() silently fails without much indication when set operation fails
  2. when dealing with a data structure which has listed dictionary elements, trying to add new dictionary attributes to an existing dictionary fails to work . This was demonstrated by using a dpath.get() on the path with reference to the index of the listed element.

Please see my tests as attached kindly.

test_faulty_set_function_in_dpath.py.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions