code: def test_init_creates_multi_input_output_schema(self) -> None:
      op_schema = defs.OpSchema(
          "test_op",
          "test_domain",
          1,
          inputs=[
              defs.OpSchema.FormalParameter("input1", "T"),
              defs.OpSchema.FormalParameter("input2", "T"),
          ],
          outputs=[
              defs.OpSchema.FormalParameter("output1", "T"),
              defs.OpSchema.FormalParameter("output2", "T"),
          ],
          type_constraints=[("T", ["tensor(int64)"], "")],
          attributes=[
              defs.OpSchema.Attribute(
                  "attr1",
                  defs.OpSchema.AttrType.INTS,
                  "attr1 description",
              )
          ],
      )
      self.assertEqual(len(op_schema.inputs), 2)
      self.assertEqual(op_schema.inputs[0].name, "input1")
      self.assertEqual(op_schema.inputs[0].type_str, "T")
      self.assertEqual(op_schema.inputs[1].name, "input2")
      self.assertEqual(op_schema.inputs[1].type_str, "T")
      self.assertEqual(len(op_schema.outputs), 2)
      self.assertEqual(op_schema.outputs[0].name, "output1")
      self.assertEqual(op_schema.outputs[0].type_str, "T")
      self.assertEqual(op_schema.outputs[1].name, "output2")
      self.assertEqual(op_schema.outputs[1].type_str, "T")
      self.assertEqual(len(op_schema.type_constraints), 1)
      self.assertEqual(
          op_schema.type_constraints[0].type_param_str, "T"
      )
      self.assertEqual(
          op_schema.type_constraints[0].allowed_type_strs,
          ["tensor(int64)"],
      )
      self.assertEqual(len(op_schema.attributes), 1)
      self.assertEqual(op_schema.attributes["attr1"].name, "attr1")
      self.assertEqual(
          op_schema.attributes["attr1"].type,
          defs.OpSchema.AttrType.INTS,
      )
      self.assertEqual(
          op_schema.attributes["attr1"].description, "attr1 description"
      )
  
imports: import unittest
  from typing import Sequence
  import parameterized
  import onnx
  from onnx import defs
label_desc: Use image node_id 3 for calling the TestOpSchema obj's underlying member method code with example usage: obj.test_init_creates_multi_input_output_schema() without return types