Skip to content

Commit bc59079

Browse files
Merge pull request #794 from jphilipsen05/master
Update type requirements used for multiple objects.
2 parents 5a60281 + 6c26450 commit bc59079

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

sendgrid/helpers/mail/footer_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ def __init__(self, enable=None, text=None, html=None):
77
:param enable: Whether this footer should be applied.
88
:type enable: boolean, optional
99
:param text: Text content of this footer
10-
:type text: string, optional
10+
:type text: FooterText, optional
1111
:param html: HTML content of this footer
12-
:type html: string, optional
12+
:type html: FooterHtml, optional
1313
"""
1414
self._enable = None
1515
self._text = None

sendgrid/helpers/mail/open_tracking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __init__(self, enable=None, substitution_tag=None):
1111
:param enable: If open tracking is enabled.
1212
:type enable: boolean, optional
1313
:param substitution_tag: Tag in body to be replaced by tracking pixel.
14-
:type substitution_tag: string, optional
14+
:type substitution_tag: OpenTrackingSubstitionTag, optional
1515
"""
1616
self._enable = None
1717
self._substitution_tag = None

sendgrid/helpers/mail/subscription_tracking.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ def __init__(
1111
:param enable: Whether this setting is enabled.
1212
:type enable: boolean, optional
1313
:param text: Text to be appended to the email with the link as "<% %>".
14-
:type text: string, optional
14+
:type text: SubscriptionText, optional
1515
:param html: HTML to be appended to the email with the link as "<% %>".
16-
:type html: string, optional
16+
:type html: SubscriptionHtml, optional
1717
:param substitution_tag: Tag replaced with URL. Overrides text, html
1818
params.
19-
:type substitution_tag: string, optional
19+
:type substitution_tag: SubscriptionSubstitutionTag, optional
2020
"""
2121
self._enable = None
2222
self._text = None

0 commit comments

Comments
 (0)