code: def _update_type_constraints(json_schema, type_constraints):
      json_schema["type_constraints"] = []
      for _ in type_constraints:
          json_schema["type_constraints"].append(
              {
                  "description": _.description,
                  "type_param_str": _.type_param_str,
                  "allowed_type_strs": _.allowed_type_strs,
              }
          )
  
file_path: netron/tools/onnx_metadata.py
imports: import collections
  import json
  import os
  import re
  import onnx.backend.test.case
  import onnx.defs
label_desc: Use image node_id 10 for calling a global function with example usage: _update_type_constraints(json_schema, type_constraints) without return types