code: def assign(self, py_obj: Optional[Any] = None) -> "_dtypes.Type":
      return self.assign_type(_dtypes.ConstType(py_obj))
  
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 2 for calling the _ClassesIdType obj's underlying member method code with example usage: obj.assign(py_obj) and returns: self