code: def test_trace_inputs_outputs_setter_with_existing_values():
      inputs1 = {"input1": "foo"}
      outputs1 = {"output1": "bar"}
      inputs2 = {"input2": "baz"}
      outputs2 = {"output2": "qux"}
  
      t = Trace(name="test")
      t.inputs = inputs1
      t.outputs = outputs1
      t.inputs = inputs2
      t.outputs = outputs2
  
      assert t.inputs == inputs2
      assert t.outputs == outputs2
  
imports: import time
  import pytest
  from wandb.sdk.data_types.trace_tree import Span, SpanKind, StatusCode, Trace
label_desc: Use image node_id 25 for calling a global function with example usage: test_trace_inputs_outputs_setter_with_existing_values() without return types