class_docstr: Parquet Function-Wrapper Class
  
  Writes a DataFrame partition into a distinct parquet
  file. When called, the function also requires the
  current block index (via ``blockwise.BlockIndex``).
class_docstr_tok: ["Parquet","Function-Wrapper","Class","Writes","a","DataFrame","partition","into","a","distinct","parquet","file",".","When","called",",","the","function","also","requires","the","current","block","index","(","via","``","blockwise.BlockIndex","``",")","."]
code: def __dask_tokenize__(self):
      return (
          self.engine,
          self.path,
          self.fs,
          self.partition_on,
          self.write_metadata_file,
          self.i_offset,
          self.name_function,
          self.kwargs_pass,
      )
  
imports: from __future__ import annotations
  import contextlib
  import math
  import warnings
  from typing import Literal
  import pandas
  import tlz
  from fsspec.core import get_fs_token_paths
  from fsspec.utils import stringify_path
  import dask
  from dask.base import tokenize
  from dask.blockwise import BlockIndex
  from dask.dataframe.backends import dataframe_creation_dispatch
  from dask.dataframe.core import DataFrame, Scalar
  from dask.dataframe.io.io import from_map
  from dask.dataframe.io.parquet.utils import Engine, _sort_and_analyze_paths, _split_user_options
  from dask.dataframe.io.utils import DataFrameIOFunction, _is_local_fs
  from dask.dataframe.methods import concat
  from dask.delayed import Delayed
  from dask.highlevelgraph import HighLevelGraph
  from dask.layers import DataFrameIOLayer
  from dask.utils import apply, import_required, natural_sort_key, parse_bytes
label_desc: Use image node_id 2 for calling the ToParquetFunctionWrapper obj's underlying member method code with example usage: obj.__dask_tokenize__() and returns: self,  self,  self,  self,  self,  self,  self,  self