code: def tuple(self):
      return (self.role, self.partyid)
  
file_path: FATE/python/fate/components/core/spec/federation.py
imports: from typing import Dict, List, Literal, Optional
  import pydantic
label_desc: Use image node_id 1 for calling the PartySpec obj's underlying member method code with example usage: obj.tuple() and returns: self,  self