class_docstr: NOTE: This class is auto generated by the swagger code generator program.
  
  Do not edit the class manually.
class_docstr_tok: ["NOTE",":","This","class","is","auto","generated","by","the","swagger","code","generator","program",".","Do","not","edit","the","class","manually","."]
docstr: Sets the framework of this ModelNewInstanceRequest.
  
  The framework of the model instance  # noqa: E501
  
  :param framework: The framework of this ModelNewInstanceRequest.  # noqa: E501
  :type: str
docstr_tok: ["Sets","the","framework","of","this","ModelNewInstanceRequest",".","The","framework","of","the","model","instance","#","noqa",":","E501",":","param","framework",":","The","framework","of","this","ModelNewInstanceRequest",".","#","noqa",":","E501",":","type",":","str"]
code: def framework(self, framework):
      """Sets the framework of this ModelNewInstanceRequest.
  
      The framework of the model instance  # noqa: E501
  
      :param framework: The framework of this ModelNewInstanceRequest.  # noqa: E501
      :type: str
      """
      if framework is None:
          raise ValueError(
              "Invalid value for `framework`, must not be `None`"
          )  # noqa: E501
      allowed_values = [
          "tensorFlow1",
          "tensorFlow2",
          "tfLite",
          "tfJs",
          "pyTorch",
          "jax",
          "coral",
          "scikitLearn",
          "mxnet",
          "onnx",
          "keras",
      ]  # noqa: E501
      if framework not in allowed_values:
          raise ValueError(
              "Invalid value for `framework` ({0}), must be one of {1}".format(  # noqa: E501
                  framework, allowed_values
              )
          )
  
      self._framework = framework
  
imports: import pprint
  import re
  import six
  from kaggle.models.upload_file import UploadFile
label_desc: Use image node_id 5 for calling the ModelNewInstanceRequest obj's underlying member method code with example usage: obj.framework(framework) without return types