Sec. 73. - [Mandamus.] In case any officer, board, or commission fails to perform any duty required by law, the city attorney shall apply to a court of competent jurisdiction for a writ of mandamus to compel the performance of such duty.