code: def test_loading_from_json_with_mixed_types():
      """Test loading a Table from json instantiates the correct types.
  
      When a Table was saved with `allow_mixed_types=True`, the correct datatype was saved
      to the serialized json object. However, loading that Table caused an error; that
      datatype was never used in Table instantiation. This unit test makes sure this path
      runs correctly.
      """
      json_obj = {
          "_type": "table",
          "column_types": {
              "params": {
                  "type_map": {
                      "Column_1": {
                          "params": {
                              "allowed_types": [
                                  {"wb_type": "any"},
                                  {"wb_type": "none"},
                              ]
                          },
                          "wb_type": "union",
                      },
                      "Column_2": {
                          "params": {
                              "allowed_types": [
                                  {"wb_type": "any"},
                                  {"wb_type": "none"},
                              ]
                          },
                          "wb_type": "union",
                      },
                  }
              },
              "wb_type": "typedDict",
          },
          "columns": ["Column_1", "Column_2"],
          "data": [[0.0, None], [0.0, 5], [None, "cpu"]],
          "ncols": 2,
          "nrows": 3,
      }
  
      artifact = wandb.Artifact("my_artifact", type="dataset")
      _ = wandb.Table.from_json(json_obj, artifact)
  
file_path: wandb/tests/pytest_tests/unit_tests/test_tables.py
imports: import datetime
  import numpy
  import pytest
  import wandb
label_desc: Use image node_id 7 for calling a global function with example usage: test_loading_from_json_with_mixed_types() without return types