TypeError: type object argument after ** must be a mapping, not str

@sushilr007 This solved my issue thanks!, apparently wrong identation can cause this error as well.