from typing import List


def mako_local_import_str(package_name:str, key:str, imports:List[str])->str:
  """
  Create an import string for mako template from the output_patterns.yml file, like
  `from docassemble.playground1.interview_generator import mako_indent, varname`
  """
  return 'from ' + package_name + '.' + key + ' import ' + ",".join(imports)