medi/api/project.py
def load(cls, path):
        """
        Loads a project from a specific path. You should not provide the path
        to ``.medi/project.json``, but rather the path to the project folder.

        :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:
            return cls(**data)
        else:
            raise WrongVersion(
                "The Medi version of this project seems newer than what we can handle."
            )

        Loads a project from a specific path. You should not provide the path
        to ``.medi/project.json``, but rather the path to the project folder.

        :param path: The path of the directory you want to use as a project.
        
Loads a project from a specific path. You should not provide the path
to ``.medi/project.json``, but rather the path to the project folder.
Loads a project from a specific path . You should not provide the path to ` ` . medi / project . json ` ` but rather the path to the project folder .
def load(cls, path):
        with open(cls._get_json_path(path)) as f:
            version, data = json.load(f)
        if version == 1:
            return cls(**data)
        else:
            raise WrongVersion(
                "The Medi 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 : return cls ( ** data ) else : raise WrongVersion ( "The Medi version of this project seems newer than what we can handle." )
Loads a project from a specific path.
Loads a project from a specific path .
"""
        Loads a project from a specific path. You should not provide the path
        to ``.medi/project.json``, but rather the path to the project folder.

        :param path: The path of the directory you want to use as a project.
        """
cls
path
The path of the directory you want to use as a project.
The path of the directory you want to use as a project .