-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter nested properties based on metadata (#130)
* Support filtering of nested fields Update filter_data_by_metadata function to allow filtering of nested fields - e.g. if property `address` has selected set to True, but property `address.street` has selected set to False, only the street would be excluded. Processes data recursively. * Update transform.py make formatting a little clearer * Update transform.py Fix array type breadcrumb name * Update transform.py breadcrumb path documentation * Update transform.py change based on tests - must remove field from data object, not just set value to None. * Update transform.py line lenght :) * Add tests for filtering nested fields * Make pylint happy * Simplify one line Co-authored-by: Chris Goddard <[email protected]>
- Loading branch information
1 parent
6c6c773
commit 9953adb
Showing
3 changed files
with
68 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters