Skip to content

Commit 9dc371f

Browse files
authored
Merge pull request #205 from lob/GC-1915/campaign-creative-leading-comma
GC-1915/Remove Leading Comma
2 parents 896a4cc + cbf5b65 commit 9dc371f

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python ${{ matrix.python-version }}
1717
uses: actions/setup-python@v3
1818
with:
19-
python-version: ${{ matrix.python-version }}
19+
python-version: ${{ matrix.python-version }}
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip

lob_python/model/campaign_creative.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def openapi_types():
107107
'description': (str, type(None)), # noqa: E501
108108
'_from': (str, AddressEditable, type(None)), # noqa: E501
109109
'resource_type': (str, type(None)), # noqa: E501
110-
'details': (, PostcardDetailsWritable, type(None)), # noqa: E501
110+
'details': (PostcardDetailsWritable, type(None)), # noqa: E501
111111
'metadata': (MetadataModel, type(None)), # noqa: E501
112112
'template_preview_urls': (dict, type(None)), # noqa: E501
113113
'template_previews': (list, type(None)), # noqa: E501
@@ -184,7 +184,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
184184
description (str, type(None)): [optional] # noqa: E501
185185
_from (str, AddressEditable, type(None)): Must either be an address ID or an inline object with correct address parameters.. [optional] # noqa: E501
186186
resource_type (str, type(None)): Mailpiece type for the creative. [optional] # noqa: E501
187-
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
187+
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
188188
metadata (MetadataModel, type(None)): [optional] # noqa: E501
189189
template_preview_urls (dict, type(None)): Preview URLs associated with a creative's artwork asset(s) if the creative uses HTML templates as assets.. [optional] # noqa: E501
190190
template_previews (list, type(None)): A list of template preview objects if the creative uses HTML template(s) as artwork asset(s).. [optional] # noqa: E501
@@ -278,7 +278,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
278278
description (str, type(None)): [optional] # noqa: E501
279279
_from (str, AddressEditable, type(None)): Must either be an address ID or an inline object with correct address parameters.. [optional] # noqa: E501
280280
resource_type (str, type(None)): Mailpiece type for the creative. [optional] # noqa: E501
281-
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
281+
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
282282
metadata (MetadataModel, type(None)): [optional] # noqa: E501
283283
template_preview_urls (dict, type(None)): Preview URLs associated with a creative's artwork asset(s) if the creative uses HTML templates as assets.. [optional] # noqa: E501
284284
template_previews (list, type(None)): A list of template preview objects if the creative uses HTML template(s) as artwork asset(s).. [optional] # noqa: E501

lob_python/model/creative_response.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def openapi_types():
103103
'description': (str, type(None)), # noqa: E501
104104
'_from': (str, AddressEditable, type(None)), # noqa: E501
105105
'resource_type': (str, type(None)), # noqa: E501
106-
'details': (, PostcardDetailsWritable, type(None)), # noqa: E501
106+
'details': (PostcardDetailsWritable, type(None)), # noqa: E501
107107
'metadata': (MetadataModel, type(None)), # noqa: E501
108108
'template_preview_urls': (dict, type(None)), # noqa: E501
109109
'template_previews': (list, type(None)), # noqa: E501
@@ -180,7 +180,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
180180
description (str, type(None)): [optional] # noqa: E501
181181
_from (str, AddressEditable, type(None)): Must either be an address ID or an inline object with correct address parameters.. [optional] # noqa: E501
182182
resource_type (str, type(None)): Mailpiece type for the creative. [optional] # noqa: E501
183-
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
183+
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
184184
metadata (MetadataModel, type(None)): [optional] # noqa: E501
185185
template_preview_urls (dict, type(None)): Preview URLs associated with a creative's artwork asset(s) if the creative uses HTML templates as assets.. [optional] # noqa: E501
186186
template_previews (list, type(None)): A list of template preview objects if the creative uses HTML template(s) as artwork asset(s).. [optional] # noqa: E501
@@ -274,7 +274,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
274274
description (str, type(None)): [optional] # noqa: E501
275275
_from (str, AddressEditable, type(None)): Must either be an address ID or an inline object with correct address parameters.. [optional] # noqa: E501
276276
resource_type (str, type(None)): Mailpiece type for the creative. [optional] # noqa: E501
277-
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
277+
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
278278
metadata (MetadataModel, type(None)): [optional] # noqa: E501
279279
template_preview_urls (dict, type(None)): Preview URLs associated with a creative's artwork asset(s) if the creative uses HTML templates as assets.. [optional] # noqa: E501
280280
template_previews (list, type(None)): A list of template preview objects if the creative uses HTML template(s) as artwork asset(s).. [optional] # noqa: E501

lob_python/model/creative_writable.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def openapi_types():
9999
'campaign_id': (str,), # noqa: E501
100100
'description': (str, type(None)), # noqa: E501
101101
'metadata': (MetadataModel, type(None)), # noqa: E501
102-
'details': (, PostcardDetailsWritable, type(None)), # noqa: E501
102+
'details': (PostcardDetailsWritable, type(None)), # noqa: E501
103103
'file': (str, type(None)), # noqa: E501
104104
'front': (str, type(None)), # noqa: E501
105105
'back': (str, type(None)), # noqa: E501
@@ -170,7 +170,7 @@ def _from_openapi_data(cls, _from, resource_type, campaign_id, *args, **kwargs):
170170
_visited_composed_classes = (Animal,)
171171
description (str, type(None)): [optional] # noqa: E501
172172
metadata (MetadataModel, type(None)): [optional] # noqa: E501
173-
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsWritable or LetterDetailsWritable. [optional] # noqa: E501
173+
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsWritable or LetterDetailsWritable. [optional] # noqa: E501
174174
file (str, type(None)): PDF file containing the letter's formatting. Do not include for resource_type = postcard.. [optional] # noqa: E501
175175
front (str, type(None)): The artwork to use as the front of your postcard. Do not include for resource_type = letter. . [optional] # noqa: E501
176176
back (str, type(None)): The artwork to use as the back of your postcard. Do not include for resource_type = letter. . [optional] # noqa: E501
@@ -265,7 +265,7 @@ def __init__(self, _from, resource_type, campaign_id, *args, **kwargs): # noqa:
265265
_visited_composed_classes = (Animal,)
266266
description (str, type(None)): [optional] # noqa: E501
267267
metadata (MetadataModel, type(None)): [optional] # noqa: E501
268-
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsWritable or LetterDetailsWritable. [optional] # noqa: E501
268+
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsWritable or LetterDetailsWritable. [optional] # noqa: E501
269269
file (str, type(None)): PDF file containing the letter's formatting. Do not include for resource_type = postcard.. [optional] # noqa: E501
270270
front (str, type(None)): The artwork to use as the front of your postcard. Do not include for resource_type = letter. . [optional] # noqa: E501
271271
back (str, type(None)): The artwork to use as the back of your postcard. Do not include for resource_type = letter. . [optional] # noqa: E501

lob_python/model/letter_details_returned.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def openapi_types():
105105
'double_sided': (bool, type(None)), # noqa: E501
106106
'extra_service': (str, type(None)), # noqa: E501
107107
'mail_type': (MailType, type(None)), # noqa: E501
108-
'return_envelope': (, bool, type(None)), # noqa: E501
108+
'return_envelope': (bool, type(None)), # noqa: E501
109109
'bleed': (bool, type(None)), # noqa: E501
110110
'file_original_url': (str, type(None)), # noqa: E501
111111
}
@@ -178,7 +178,7 @@ def _from_openapi_data(cls, color, cards, *args, **kwargs): # noqa: E501
178178
double_sided (bool, type(None)): Set this attribute to `true` for double sided printing, `false` for for single sided printing.. [optional] if omitted the server will use the default value of True # noqa: E501
179179
extra_service (str, type(None)): Add an extra service to your letter.. [optional] # noqa: E501
180180
mail_type (MailType, type(None)): [optional] # noqa: E501
181-
return_envelope (, bool, type(None)): [optional] # noqa: E501
181+
return_envelope (bool, type(None)): [optional] # noqa: E501
182182
bleed (bool, type(None)): Allows for letter bleed. Enabled only with specific feature flags.. [optional] if omitted the server will use the default value of False # noqa: E501
183183
file_original_url (str, type(None)): [optional] # noqa: E501
184184
"""
@@ -273,7 +273,7 @@ def __init__(self, color, cards, *args, **kwargs): # noqa: E501
273273
double_sided (bool, type(None)): Set this attribute to `true` for double sided printing, `false` for for single sided printing.. [optional] if omitted the server will use the default value of True # noqa: E501
274274
extra_service (str, type(None)): Add an extra service to your letter.. [optional] # noqa: E501
275275
mail_type (MailType, type(None)): [optional] # noqa: E501
276-
return_envelope (, bool, type(None)): [optional] # noqa: E501
276+
return_envelope (bool, type(None)): [optional] # noqa: E501
277277
bleed (bool, type(None)): Allows for letter bleed. Enabled only with specific feature flags.. [optional] if omitted the server will use the default value of False # noqa: E501
278278
file_original_url (str, type(None)): [optional] # noqa: E501
279279
"""

0 commit comments

Comments
 (0)