class_docstr: The API necessary to provide a new Parquet reader/writer
docstr: Write the shared metadata file for a parquet dataset.
  
  Parameters
  ----------
  parts: List
      Contains metadata objects to write, of the type undrestood by the
      specific implementation
  meta: non-chunk metadata
      Details that do not depend on the specifics of each chunk write,
      typically the schema and pandas metadata, in a format the writer
      can use.
  fs: FileSystem
  path: str
      Output file to write to, usually ``"_metadata"`` in the root of
      the output dataset
  append: boolean
      Whether or not to consolidate new metadata with existing (True)
      or start from scratch (False)
  **kwargs: dict
      Other keyword arguments (including `compression`)
docstr_tok: ["Write","the","shared","metadata","file","for","a","parquet","dataset",".","Parameters","--","--","--","--","--","parts",":","List","Contains","metadata","objects","to","write",",","of","the","type","undrestood","by","the","specific","implementation","meta",":","non-chunk","metadata","Details","that","do","not","depend","on","the","specifics","of","each","chunk","write",",","typically","the","schema","and","pandas","metadata",",","in","a","format","the","writer","can","use",".","fs",":","FileSystem","path",":","str","Output","file","to","write","to",",","usually","``","``","_metadata","''","``","in","the","root","of","the","output","dataset","append",":","boolean","Whether","or","not","to","consolidate","new","metadata","with","existing","(","True",")","or","start","from","scratch","(","False",")","*","*","kwargs",":","dict","Other","keyword","arguments","(","including","`","compression","`",")"]
code: def write_metadata(
      cls, parts, meta, fs, path, append=False, **kwargs
  ):
      """
      Write the shared metadata file for a parquet dataset.
  
      Parameters
      ----------
      parts: List
          Contains metadata objects to write, of the type undrestood by the
          specific implementation
      meta: non-chunk metadata
          Details that do not depend on the specifics of each chunk write,
          typically the schema and pandas metadata, in a format the writer
          can use.
      fs: FileSystem
      path: str
          Output file to write to, usually ``"_metadata"`` in the root of
          the output dataset
      append: boolean
          Whether or not to consolidate new metadata with existing (True)
          or start from scratch (False)
      **kwargs: dict
          Other keyword arguments (including `compression`)
      """
      raise NotImplementedError()
  
imports: from __future__ import annotations
  import re
  import warnings
  import numpy
  import pandas
  from fsspec.core import expand_paths_if_needed, get_fs_token_paths, stringify_path
  from fsspec.spec import AbstractFileSystem
  from dask import config
  from dask.dataframe.io.utils import _is_local_fs
  from dask.utils import natural_sort_key, parse_bytes
label_desc: Use image node_id 7 for calling the Engine obj's underlying member method code with example usage: obj.write_metadata(cls, parts, meta, fs, path, append) without return types