class_docstr: Record for converting generated string to information record in predicate-arguments
  {
      type: pred_type,
      trigger: predicate_span,
      args: [(arg_type, arg_span), ...]
  }
class_docstr_tok: ["Record","for","converting","generated","string","to","information","record","in","predicate-arguments","{","type",":","pred_type",",","trigger",":","predicate_span",",","args",":","[","(","arg_type",",","arg_span",")",",","...","]","}"]
docstr: {'type': 'Justice:Appeal',
   'trigger': 'appeal',
   'roles': [
      ('Adjudicator', 'court'),
      ('Plaintiff', 'Anwar')
      ], }
docstr_tok: ["{","'type","'",":","'Justice",":","Appeal","'",",","'trigger","'",":","'appeal","'",",","'roles","'",":","[","(","'Adjudicator","'",",","'court","'",")",",","(","'Plaintiff","'",",","'Anwar","'",")","]",",","}"]
code: def to_string(instance):
      """
      {'type': 'Justice:Appeal',
       'trigger': 'appeal',
       'roles': [
          ('Adjudicator', 'court'),
          ('Plaintiff', 'Anwar')
          ], }
      """
      return instance
  
imports: from asyncio.log import logger
  import sys
  from typing import Tuple
  import numpy
  import logging
label_desc: Use image node_id 2 for calling the EventRecord obj's underlying member method code with example usage: obj.to_string(instance) and returns: instance