code: def textproto_parse(stream, encoding, json_encoder):
      for item in textproto_split(stream, json_encoder):
          yield json.loads(item.decode(encoding))
  
imports: import ast
  import errno
  import json
  import os
  import re
  import subprocess
  import stat
  import sys
  from collections import defaultdict, OrderedDict
label_desc: Use image node_id 3 for calling a global function with example usage: textproto_parse(stream, encoding, json_encoder) without return types