-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate mapping metadata setting (#455)
This PR consolidates metadata handling functionality. Mainly it does two things: 1. Use a chainmap to ensure default metadata in `_init_mapping_set()` 2. Calls to `_set_metadata_in_mapping_set` to be directly inside `_init_mapping_set()` Unfortunately, `_set_metadata_in_mapping_set` can't be completely deleted since it's used in one other place, but this is still a good reduction of complexity.
- Loading branch information
Showing
1 changed file
with
7 additions
and
16 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