code: def test_object_type():
      wb_type = TypeRegistry.type_of(np.random.rand(30))
      assert wb_type.assign(np.random.rand(30)) == wb_type
      assert wb_type.assign(4) == InvalidType()
  
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 12 for calling a global function with example usage: test_object_type() without return types