Python Define Parameter Type In Function