class_docstr: Defines a glue interface to interact with a template project through the API Server.
docstr: Generate a project given GraphRuntimeFactory.
code: def generate_project(
      self, graph_executor_factory, project_dir, options
  ):
      """Generate a project given GraphRuntimeFactory."""
      model_library_dir = utils.tempdir()
      model_library_format_path = model_library_dir.relpath("model.tar")
      export_model_library_format(
          graph_executor_factory, model_library_format_path
      )
  
      return self.generate_project_from_mlf(
          model_library_format_path, project_dir, options
      )
  
imports: import pathlib
  from typing import Union
  from ..None import __version__
  from ..contrib import utils
  from .build import get_standalone_crt_dir
  from .model_library_format import ExportableModule, export_model_library_format
  from .project_api import client
  from .transport import Transport, TransportTimeouts
label_desc: Use image node_id 6 for calling the TemplateProject obj's underlying member method code with example usage: obj.generate_project(graph_executor_factory, project_dir, options) and returns: self