looks like the context passed in is a context dict, and the context further down is a Context Instance, I think I would go with context_dict being the passed in variable.