class_docstr: Defines a glue interface to interact with a template project through the API Server.
code: def from_directory(cls, template_project_dir):
      return cls(client.instantiate_from_dir(template_project_dir))
  
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 1 for calling the TemplateProject obj's underlying member method code with example usage: obj.from_directory(cls, template_project_dir) and returns: cls