code: def asdict(self) -> Dict[str, Union[Dict, Union[str, Dict]]]:
          
          return {
              "service": self.service.name,
              **self.signature.serialize(),
          }
docs: Return a dictionary describing the method.
  
          This can be used to dump the information into a JSON file.