class_docstr: Essentially a data class with a parametrized format method
  
  Helper to interpolate various combinations of framework_version, py_version, and image
  as expected by framework and model classes
  
  TODO: use attrs package and eliminate the boilerplate...
class_docstr_tok: ["Essentially","a","data","class","with","a","parametrized","format","method","Helper","to","interpolate","various","combinations","of","framework_version",",","py_version",",","and","image","as","expected","by","framework","and","model","classes","TODO",":","use","attrs","package","and","eliminate","the","boilerplate","..."]
code: def __init__(
      self,
      framework,
      framework_version,
      py_version,
      py_version_for_model=True,
  ):
      self.framework = framework
      self.framework_version = framework_version
      self.py_version = py_version
      self.py_version_for_model = py_version_for_model
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.cli.compatibility.v2.modifiers import framework_version
  from tests.unit.sagemaker.cli.compatibility.v2.modifiers.ast_converter import ast_call
label_desc: Use image node_id 1 to create a new Template object  with example: obj = Template(framework, framework_version, py_version, py_version_for_model)