class str, write_args: Optional[Dict[str, Any]] = None, credentials: Optional[Dict[str, Any]] = None, fs_args: Optional[Dict[str, Any]] = None)[source]

Bases:, abc.ABC

An abstract Writer implementation that writes results out to a filesystem (either local or remote / cloud).

Creates a new FileWriter

  • path (str) – The path to read data from. Can be a regular file path or contain a protocol.

  • write_args (Dict[str, Any], default=None) – Specific arguments passed along the method performing the actual writing.

  • credentials (Dict[str, Any], default=None) – Used to provide credential information following specific fsspec implementations.

  • fs_args (default=None) – Specific arguments passed along to the fsspec filesystem initializer.