jasily/data/box.py
def load_from_dict(self, src: dict, key):
        '''
        try load value from dict.
        if key is not exists, mark as state unset.
        '''
        if key in src:
            self.value = src[key]
        else:
            self.reset()
def load_from_dict(self, src: dict, key):
        '''
        try load value from dict.
        if key is not exists, mark as state unset.
        '''
        if key in src:
            self.value = src[key]
        else:
            self.reset()
def load_from_dict ( self , src : dict , key ) : if key in src : self . value = src [ key ] else : self . reset ( )
try load value from dict.
        if key is not exists, mark as state unset.
try load value from dict . if key is not exists mark as state unset .