You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dictionary function ‘update’ for datamodels does not elegantly handle recursion. A brute force implementation can be used as a workaround, but the goal is to implement an override for the function that will recursively apply ‘update’ to objects within a tree. The use case is to update all the metadata of a file (under the key ‘meta’), which is a dictionary that may contain sub dictionaries (hence the recursion). This problem was discovered while creating unit tests for the dark current step.
The text was updated successfully, but these errors were encountered:
The dictionary function ‘update’ for datamodels does not elegantly handle recursion. A brute force implementation can be used as a workaround, but the goal is to implement an override for the function that will recursively apply ‘update’ to objects within a tree. The use case is to update all the metadata of a file (under the key ‘meta’), which is a dictionary that may contain sub dictionaries (hence the recursion). This problem was discovered while creating unit tests for the dark current step.
The text was updated successfully, but these errors were encountered: