nvflare.fuel.utils.pipe.file_name_utils module

file_name_to_message(file_name: str) Message[source]

Decode the file name to produce the meta info of the message.


file_name – the file name to be decoded.

Returns: a Message object that contains meta info.

message_to_file_name(msg: Message) str[source]

Produce the file name that encodes the meta info of the message


msg – message for which the file name is to be produced