You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In BaseMail.__init__, I think it would be helpful to validate context against self.get_params (and raise MissingMailContextParamException) before doing anything else. That way, self.get_context_data could safely reference the required params while adding additional context.
But, maybe there's some element of the flow that I'm missing...
The text was updated successfully, but these errors were encountered:
In
BaseMail.__init__
, I think it would be helpful to validatecontext
againstself.get_params
(and raiseMissingMailContextParamException
) before doing anything else. That way,self.get_context_data
could safely reference the required params while adding additional context.But, maybe there's some element of the flow that I'm missing...
The text was updated successfully, but these errors were encountered: