nvflare.fuel.utils.pipe.fobs_file_accessor module

class FobsFileAccessor[source]

Bases: FileAccessor

read(file_path: str) Any[source]

Read the file as a binary file and decode it with FOBS.

Parameters:

file_path – path to the file to be read

Returns:

write(data: Any, file_path) None[source]

Write the data as binary file.

Parameters:
  • data – data to be written

  • file_path – path of the file

Returns: