Python Use Dictionary As Function Arguments Types In Python