class_docstr: Serializes a stream of objects in batches by calling its wrapped
  Serializer with streams of objects.
class_docstr_tok: ["Serializes","a","stream","of","objects","in","batches","by","calling","its","wrapped","Serializer","with","streams","of","objects","."]
code: def __repr__(self):
      return "BatchedSerializer(%s, %d)" % (
          str(self.serializer),
          self.batch_size,
      )
  
imports: import pickle
  import struct
  from abc import abstractmethod
  from io import BytesIO
  from itertools import chain
  from typing import TypeVar, Iterable
  from pyflink.common.serializer import TypeSerializer
label_desc: Use image node_id 2 for calling the BatchedSerializer obj's underlying member method code with example usage: obj.__repr__() and returns: unknown