Dictionary Python Get Method Name Must Be A String