class_docstr: Abstract filesystem interface
class_docstr_tok: ["Abstract","filesystem","interface"]
docstr: Open file for reading or writing.
docstr_tok: ["Open","file","for","reading","or","writing","."]
code: def open(
      self, path: path_type, mode: str = "rb"
  ) -> Union[BinaryIO, TextIO]:
      """
      Open file for reading or writing.
      """
  
imports: import os
  from abc import ABC, abstractmethod
  from urllib.parse import urlparse
  from typing import Union, List, Dict, Tuple, BinaryIO, TextIO, Iterator
  from ...utils import stringify_path
label_desc: Use image node_id 16 for calling the FileSystem obj's underlying member method code with example usage: obj.open(path, mode) without return types