raft/states/state.py
async def on_append_entries(self, message: AppendEntriesMessage):
        """This is called when there is a request to
        append an entry to the log.

        """
        return self, None
This is called when there is a request to
        append an entry to the log.

        
This is called when there is a request to
append an entry to the log.
This is called when there is a request to append an entry to the log .
async def on_append_entries(self, message: AppendEntriesMessage):
        return self, None
async def on_append_entries ( self , message : AppendEntriesMessage ) : return self , None
This is called when there is a request to
append an entry to the log.
This is called when there is a request to append an entry to the log .
"""This is called when there is a request to
        append an entry to the log.

        """
self
message
AppendEntriesMessage