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
The broader implication is that having a SubscriptionTracking object attached to your Mail object completely sinks your ability to serialize the Mail object due to the nested nature of the get() calls:
Issue Summary
The SubscriptionTracking object attempts to serialize its components with a
get
call (https://github.com/sendgrid/sendgrid-python/blob/main/sendgrid/helpers/mail/subscription_tracking.py#L134), but as per those attribute definitions (https://github.com/sendgrid/sendgrid-python/blob/main/sendgrid/helpers/mail/subscription_tracking.py#L57, et. al.), thetext
,html
, andsubstitution_tag
values are intended to be strings, which obviously would not have aget
method.Steps to Reproduce
get()
serializerCode Snippet
The simplest way to reproduce this is:
The broader implication is that having a SubscriptionTracking object attached to your Mail object completely sinks your ability to serialize the Mail object due to the nested nature of the get() calls:
Exception/Log
Technical details:
The text was updated successfully, but these errors were encountered: