code: def __init__(
      self,
      path,
      overwrite,
      stage_locally,
      codec_spec,
      partitions,
      partitions_type,
  ):
      self.path = path
      self.overwrite = overwrite
      self.stage_locally = stage_locally
      self.codec_spec = codec_spec
      self.partitions = partitions
      self.partitions_type = partitions_type
  
imports: import abc
  import json
  from hail.expr.types import hail_type
  from ..typecheck import typecheck_method, nullable, dictof, sequenceof
  from ..utils.misc import escape_str
  from .export_type import ExportType
label_desc: Use image node_id 1 to create a new MatrixNativeWriter object from inherited base classes: MatrixWriter with example: obj = MatrixNativeWriter(path, overwrite, stage_locally, codec_spec, partitions, partitions_type)