Apply black formatter
Browse files
src/axolotl/utils/dict.py
CHANGED
@@ -2,8 +2,9 @@ from addict import Dict
|
|
2 |
|
3 |
|
4 |
class DictDefault(Dict):
|
5 |
-
|
6 |
A Dict that returns None instead of returning empty Dict for missing keys.
|
7 |
-
|
|
|
8 |
def __missing__(self, key):
|
9 |
return None
|
|
|
2 |
|
3 |
|
4 |
class DictDefault(Dict):
|
5 |
+
"""
|
6 |
A Dict that returns None instead of returning empty Dict for missing keys.
|
7 |
+
"""
|
8 |
+
|
9 |
def __missing__(self, key):
|
10 |
return None
|