nodes: 0, module; 1, function_definition; 2, function_name:get_review_sh; 3, parameters; 4, block; 5, identifier:self; 6, identifier:revision; 7, identifier:item; 8, expression_statement; 9, expression_statement; 10, expression_statement; 11, expression_statement; 12, return_statement; 13, comment:""" Add sorting hat enrichment fields for the author of the revision """; 14, assignment; 15, assignment; 16, assignment; 17, identifier:erevision; 18, identifier:identity; 19, call; 20, identifier:update; 21, call; 22, identifier:erevision; 23, call; 24, attribute; 25, argument_list; 26, attribute; 27, argument_list; 28, attribute; 29, argument_list; 30, identifier:self; 31, identifier:get_sh_identity; 32, identifier:revision; 33, identifier:parser; 34, identifier:parse; 35, subscript; 36, identifier:self; 37, identifier:get_item_sh_fields; 38, identifier:identity; 39, identifier:update; 40, identifier:item; 41, call; 42, attribute; 43, argument_list; 44, identifier:self; 45, identifier:get_field_date
code: def get_review_sh(self, revision, item):
          """ Add sorting hat enrichment fields for the author of the revision """
  
          identity = self.get_sh_identity(revision)
          update = parser.parse(item[self.get_field_date()])
          erevision = self.get_item_sh_fields(identity, update)
  
          return erevision