code: def __init__(
      self,
      encoding=None,
      explicit_start=None,
      explicit_end=None,
      version=None,
      tags=None,
  ):
      self.use_encoding = encoding
      self.use_explicit_start = explicit_start
      self.use_explicit_end = explicit_end
      self.use_version = version
      self.use_tags = tags
      self.serialized_nodes = {}
      self.anchors = {}
      self.last_anchor_id = 0
      self.closed = None
  
file_path: catboost/contrib/python/PyYAML/py3/yaml/serializer.py
imports: from .error import YAMLError
  from .events import *
  from .nodes import *
label_desc: Use image node_id 1 to create a new Serializer object  with example: obj = Serializer(encoding, explicit_start, explicit_end, version, tags)