def load(self, path=None, fatal=True, logger=None):
        """
        :param str|None path: Load this object from file with 'path' (default: self._path)
        :param bool|None fatal: Abort execution on failure if True
        :param callable|None logger: Logger to use
        """
        self.reset()
        if path:
            self._path = path
            self._source = short(path)

        else:
            path = getattr(self, "_path", None)

        if path:
            self.set_from_dict(read_json(path, default={}, fatal=fatal, logger=logger))
def load ( self , path = None , fatal = True , logger = None ) : self . reset ( ) if path : self . _path = path self . _source = short ( path ) else : path = getattr ( self , "_path" , None ) if path : self . set_from_dict ( read_json ( path , default = { } , fatal = fatal , logger = logger ) )
:param str|None path: Load this object from file with 'path' (default: self._path)
        :param bool|None fatal: Abort execution on failure if True
        :param callable|None logger: Logger to use