code: def test_MySQLSink_inputs():
      input_map = dict(
          config=dict(
              extensions=None,
              mandatory=True,
              xor=["host"],
          ),
          database_name=dict(
              mandatory=True,
          ),
          host=dict(
              mandatory=True,
              requires=["username", "password"],
              usedefault=True,
              xor=["config"],
          ),
          password=dict(),
          table_name=dict(
              mandatory=True,
          ),
          username=dict(),
      )
      inputs = MySQLSink.input_spec()
  
      for key, metadata in list(input_map.items()):
          for metakey, value in list(metadata.items()):
              assert getattr(inputs.traits()[key], metakey) == value
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_MySQLSink_inputs() without return types