code: def assign_type(self, wb_type: "_dtypes.Type") -> "_dtypes.Type":
      valid_ids = self.params["valid_ids"].assign_type(wb_type)
      if not isinstance(valid_ids, _dtypes.InvalidType):
          return self
  
      return _dtypes.InvalidType()
  
file_path: wandb/wandb/sdk/data_types/helper_types/classes.py
imports: import os
  from typing import TYPE_CHECKING, Any, Dict, Optional, Sequence, Type, Union
  from ..None import _dtypes
  from ..base_types.media import Media
label_desc: Use image node_id 3 for calling the _ClassesIdType obj's underlying member method code with example usage: obj.assign_type(wb_type) and returns: _dtypes, self