Module osbot_utils.helpers.Dict_To_Attr

Expand source code
from osbot_utils.base_classes.Kwargs_To_Self import Kwargs_To_Self


class Dict_To_Attr:
    def __init__(self, dictionary):
        for key, value in dictionary.items():
            setattr(self, key, value)

Classes

class Dict_To_Attr (dictionary)
Expand source code
class Dict_To_Attr:
    def __init__(self, dictionary):
        for key, value in dictionary.items():
            setattr(self, key, value)