code: def _write_avro_part(part, f, schema, codec, sync_interval, metadata):
      """Create single avro file from list of dictionaries"""
      import fastavro
  
      with f as f:
          fastavro.writer(
              f, schema, part, codec, sync_interval, metadata
          )
  
file_path: dask/dask/bag/avro.py
imports: from __future__ import annotations
  import io
  import uuid
  from fsspec.core import OpenFile, get_fs_token_paths, open_files
  from fsspec.utils import read_block
  from fsspec.utils import tokenize
  from dask.highlevelgraph import HighLevelGraph
label_desc: Use image node_id 10 for calling a global function with example usage: _write_avro_part(part, f, schema, codec, sync_interval, metadata) without return types