code: def test_table_allow_mixed_types():
      table = wandb.Table(columns=["col"], allow_mixed_types=True)
      table.add_data(None)
      table.add_data(1)
      table.add_data("a")  # No error with allow_mixed_types
  
      table = wandb.Table(
          columns=["col"], optional=False, allow_mixed_types=True
      )
      with pytest.raises(TypeError):
          table.add_data(None)  # Still errors since optional is false
      table.add_data(1)
      table.add_data("a")
  
imports: import datetime
  import numpy
  import pytest
  import wandb
  from wandb import data_types
  from wandb.sdk.data_types._dtypes import AnyType, BooleanType, ConstType, InvalidType, ListType, NoneType, NumberType, OptionalType, StringType, TimestampType, TypedDictType, TypeRegistry, UnionType, UnknownType
label_desc: Use image node_id 21 for calling a global function with example usage: test_table_allow_mixed_types() without return types