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
class nswrap: | |
"""Wraps a dict object in a namespace object recursively. | |
Like SimpleNamespace, except recursive. Makes discovery of | |
dictionaries easier in JupyterLab. | |
""" | |
def __init__(self, d): | |
"""_summary_ | |
Args: | |
d (dict): A dictionary |
OlderNewer