code: def test_invalid_inputs_outputs_type():
      with pytest.raises(AssertionError):
          Trace(name="test", inputs="invalid")
  
      with pytest.raises(AssertionError):
          Trace(name="test", outputs="invalid")
  
imports: import time
  import pytest
  from wandb.sdk.data_types.trace_tree import Span, SpanKind, StatusCode, Trace
label_desc: Use image node_id 12 for calling a global function with example usage: test_invalid_inputs_outputs_type() without return types