Turn a (dotted key, value) into a proper nested dict.
(key, value)
| 20 | |
| 21 | @staticmethod |
| 22 | def _undot_key(key, value): |
| 23 | """Turn a (dotted key, value) into a proper nested dict.""" |
| 24 | if "." in key: |
| 25 | key, rest = key.split(".", 1) |
| 26 | value = ChromeOptions._undot_key(rest, value) |
| 27 | return {key: value} |
| 28 | |
| 29 | @staticmethod |
| 30 | def _merge_nested(a, b): |