p2pfl.communication.commands.message.model_initialized_command moduleΒΆ

ModelInitialized command.

class p2pfl.communication.commands.message.model_initialized_command.ModelInitializedCommand(state)[source]ΒΆ

Bases: Command

ModelInitialized command.

execute(source, round, **kwargs)[source]ΒΆ

Execute the command.

Parameters:
  • source (str) – The source of the command.

  • round (int) – The round of the command.

  • **kwargs – The command keyword arguments.

Return type:

None

static get_name()[source]ΒΆ

Get the command name.

Return type:

str