@control_command()
def election(state, id, topic, action=None, **kwargs):
 if state.consumer.gossip:
  state.consumer.gossip.election(id, topic, action)

@ control_command ( ) def election ( state , id , topic , action = None , ** kwargs ) : if state . consumer . gossip : state . consumer . gossip . election ( id , topic , action )
hold election .