def refresh_action(parent):
 return qtutils.add_action(parent, cmds.Refresh.name(), cmds.run(cmds.Refresh), hotkeys.REFRESH)

def refresh_action ( parent ) : return qtutils . add_action ( parent , cmds . Refresh . name ( ) , cmds . run ( cmds . Refresh ) , hotkeys . REFRESH )
refresh the repository state -> qaction .