(cls, path)
:param path: The path of the directory you want to use as a project.
:param path: The path of the directory you want to use as a project.
: param path : The path of the directory you want to use as a project .
def load(cls, path):
        """
        :param path: The path of the directory you want to use as a project.
        """
        with open(cls._get_json_path(path)) as f:
            version, data = json.load(f)

        if version == 1:
            self = cls.__new__()
            self.__dict__.update(data)
            return self
        else:
            raise WrongVersion(
                "The Jedi version of this project seems newer than what we can handle."
            )
def load ( cls , path ) : with open ( cls . _get_json_path ( path ) ) as f : version , data = json . load ( f ) if version == 1 : self = cls . __new__ ( ) self . __dict__ . update ( data ) return self else : raise WrongVersion ( "The Jedi version of this project seems newer than what we can handle." )