code: def test_keras_telemetry_deprecated(relay_server, wandb_init):
      with relay_server() as relay:
          run = wandb_init()
          run_id = run.id
          # use deprecated argument data_type
          WandbCallback(
              data_type="image",
          )
          run.finish()
  
      telemetry = relay.context.get_run_telemetry(run_id)
      # TelemetryRecord field 10 is Deprecated,
      # whose filed 1 is keras_callback_data_type
      assert (
          telemetry
          and 8 in telemetry.get("3", [])
          and 1 in telemetry.get("10", [])
      )
  
imports: import glob
  import json
  import os
  import pytest
  import tensorflow
  from tensorflow.keras import backend
  from tensorflow.keras.layers import Dense, Flatten, Reshape
  from tensorflow.keras.models import Sequential
  from wandb.keras import WandbCallback
label_desc: Use image node_id 6 for calling a global function with example usage: test_keras_telemetry_deprecated(relay_server, wandb_init) without return types