@@ -7,7 +7,8 @@ class SuppressionList(Resource):
7
7
"""
8
8
SuppressionList class used to search, get and modify suppression status.
9
9
For detailed request and response formats, see the `Suppresion List API
10
- documentation<https://www.sparkpost.com/api#/reference/suppression-list>`_.
10
+ documentation
11
+ <https://www.sparkpost.com/api#/reference/suppression-list>`_.
11
12
"""
12
13
13
14
key = 'suppression-list'
@@ -65,10 +66,10 @@ def create(self, entry):
65
66
66
67
:param dict|list status: If dict it is a single entry to create
67
68
``{
68
-
69
- 'transactional': True,
70
- 'non_transactional': True,
71
- 'description': 'Test description'
69
+
70
+ 'transactional': True,
71
+ 'non_transactional': True,
72
+ 'description': 'Test description'
72
73
}``, if list it is multiple entries to create
73
74
74
75
:returns: a ``dict`` with a message
@@ -82,10 +83,10 @@ def update(self, entry):
82
83
83
84
:param dict|list status: If dict it is a single entry to update
84
85
``{
85
-
86
- 'transactional': True,
87
- 'non_transactional': True,
88
- 'description': 'Test description'
86
+
87
+ 'transactional': True,
88
+ 'non_transactional': True,
89
+ 'description': 'Test description'
89
90
}``, if list it is multiple entries to update
90
91
91
92
:returns: a ``dict`` with a message
0 commit comments