-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add flattened_dict property * Improve and simplify tag replacement * Use Code.flattened_dict to simplify Codelist.codelist_repr * Remove 'weight' from test tag codelist to test improved tag replacement * Make tag codelist test more precise * Fix Codelist.codelist_repr * Add docs for improved tag replacement. * Further update tag codelist docs * Appease stickler * Apply suggestions from code review Co-authored-by: Daniel Huppmann <[email protected]> * Remove unused parts from test tag codelist Co-authored-by: Daniel Huppmann <[email protected]>
- Loading branch information
1 parent
98b1fb0
commit a17beae
Showing
5 changed files
with
76 additions
and
38 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
- Sector: | ||
- Energy: | ||
definition: energy | ||
value_bool: true | ||
value_number: 2.3 | ||
weight: Energy | ||
- Industry: | ||
definition: industrial | ||
weight: Energy |
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