LIVVkit / LIVVkit

Land Ice Verification & Validation Toolkit
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

Use dictionary upacking to merge dicts #37

Open jhkennedy opened 6 years ago

jhkennedy commented 6 years ago

LIVVkit provides a livvkit.util.functions.merge_dicts function to combine multiple dictionaries (e.g., for combining json files passed to the -e option on the CLI).

This function can be dropped for generalized dictionary unpacking via PEP 448, which is available from python 3.5 on, once python 2 support has been dropped.