code: def metadata(self) -> Dict[str, str]:
      metadata = self.reader.schema.metadata
      if metadata is None:
          return {}
  
      return {
          key.decode(): value.decode()
          for key, value in metadata.items()
      }
  
imports: import abc
  from dataclasses import dataclass, field
  from pathlib import Path
  from typing import Dict, Optional, Union, List
  import numpy
  from toolz import take, drop, first
  import pyarrow
  import pyarrow.parquet
  from .dec import ArrowDecoder
label_desc: Use image node_id 1 for calling the ArrowFile obj's underlying member method code with example usage: obj.metadata() and returns: unknown, dict