(cls, project_name, client, config)
return cls(project_name, config.homedir, client, containers, config.provisioning_steps)
Creates a `Project` instance from a config object.
Creates a `Project` instance from a config object.
Creates a Project instance from a config object .
def from_config(cls, project_name, client, config):
        """ Creates a `Project` instance from a config object. """
        containers = []
        for container_config in config.containers:
            containers.append(Container(project_name, config.homedir, client, **container_config))
        return cls(project_name, config.homedir, client, containers, config.provisioning_steps)
def from_config ( cls , project_name , client , config ) : containers = [ ] for container_config in config . containers : containers . append ( Container ( project_name , config . homedir , client , * * container_config ) ) return cls ( project_name , config . homedir , client , containers , config . provisioning_steps )