code: def to_dict(self):
      """Return a dictionary representation of RPC"""
      return attr.asdict(self)
  
imports: import attr
label_desc: Use image node_id 1 for calling the RPC obj's underlying member method code with example usage: obj.to_dict() and returns: attr