Python Pass Dictionary To Function Definition