class_docstr: Simple KV API built on the underlying filesystem.
  
  This is a convenience wrapper around get_filesystem() and working with files.
  Slashes in the path are interpreted as directory delimiters.
class_docstr_tok: ["Simple","KV","API","built","on","the","underlying","filesystem",".","This","is","a","convenience","wrapper","around","get_filesystem","(",")","and","working","with","files",".","Slashes","in","the","path","are","interpreted","as","directory","delimiters","."]
docstr: Use storage.get_client() to construct KVClient.
docstr_tok: ["Use","storage.get_client","(",")","to","construct","KVClient","."]
code: def __init__(self, fs: "pyarrow.fs.FileSystem", prefix: str):
      """Use storage.get_client() to construct KVClient."""
      self.fs = fs
      self.root = Path(prefix)
  
imports: import os
  import re
  import urllib
  from pathlib import Path
  from typing import TYPE_CHECKING, List, Optional
  from ray._private.client_mode_hook import client_mode_hook
  from ray._private.utils import _add_creatable_buckets_param_if_s3_uri, load_class
  from ray._private.auto_init_hook import wrap_auto_init
label_desc: Use image node_id 1 to create a new KVClient object  with example: obj = KVClient(fs, prefix)