code: def test_deprecated_feature_telemetry(
      wandb_init, relay_server, test_settings, user
  ):
      with relay_server() as relay:
          run = wandb_init(
              config_include_keys=("lol",),
              settings=test_settings(),
          )
          # use deprecated features
          _ = [
              run.mode,
              run.save(),
              run.join(),
          ]
          telemetry = relay.context.get_run_telemetry(run.id)
          # TelemetryRecord field 10 is Deprecated,
          # whose fields 2-4 correspond to deprecated wandb.run features
          # fields 7 & 8 are deprecated wandb.init kwargs
          telemetry_deprecated = telemetry.get("10", [])
          assert (
              (2 in telemetry_deprecated)
              and (3 in telemetry_deprecated)
              and (4 in telemetry_deprecated)
              and (7 in telemetry_deprecated)
          )
  
imports: import json
  import os
  import pickle
  import sys
  import numpy
  import pytest
  import wandb
  from wandb import wandb_sdk
  from wandb.errors import UsageError
label_desc: Use image node_id 10 for calling a global function with example usage: test_deprecated_feature_telemetry(wandb_init, relay_server, test_settings, user) without return types