Skip to content

Commit

Permalink
Merge pull request #205 from lob/GC-1915/campaign-creative-leading-comma
Browse files Browse the repository at this point in the history
GC-1915/Remove Leading Comma
  • Loading branch information
kencrim authored Nov 14, 2023
2 parents 896a4cc + cbf5b65 commit 9dc371f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
6 changes: 3 additions & 3 deletions lob_python/model/campaign_creative.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def openapi_types():
'description': (str, type(None)), # noqa: E501
'_from': (str, AddressEditable, type(None)), # noqa: E501
'resource_type': (str, type(None)), # noqa: E501
'details': (, PostcardDetailsWritable, type(None)), # noqa: E501
'details': (PostcardDetailsWritable, type(None)), # noqa: E501
'metadata': (MetadataModel, type(None)), # noqa: E501
'template_preview_urls': (dict, type(None)), # noqa: E501
'template_previews': (list, type(None)), # noqa: E501
Expand Down Expand Up @@ -184,7 +184,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
description (str, type(None)): [optional] # noqa: E501
_from (str, AddressEditable, type(None)): Must either be an address ID or an inline object with correct address parameters.. [optional] # noqa: E501
resource_type (str, type(None)): Mailpiece type for the creative. [optional] # noqa: E501
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
metadata (MetadataModel, type(None)): [optional] # noqa: E501
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
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
Expand Down Expand Up @@ -278,7 +278,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
description (str, type(None)): [optional] # noqa: E501
_from (str, AddressEditable, type(None)): Must either be an address ID or an inline object with correct address parameters.. [optional] # noqa: E501
resource_type (str, type(None)): Mailpiece type for the creative. [optional] # noqa: E501
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
metadata (MetadataModel, type(None)): [optional] # noqa: E501
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
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
Expand Down
6 changes: 3 additions & 3 deletions lob_python/model/creative_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def openapi_types():
'description': (str, type(None)), # noqa: E501
'_from': (str, AddressEditable, type(None)), # noqa: E501
'resource_type': (str, type(None)), # noqa: E501
'details': (, PostcardDetailsWritable, type(None)), # noqa: E501
'details': (PostcardDetailsWritable, type(None)), # noqa: E501
'metadata': (MetadataModel, type(None)), # noqa: E501
'template_preview_urls': (dict, type(None)), # noqa: E501
'template_previews': (list, type(None)), # noqa: E501
Expand Down Expand Up @@ -180,7 +180,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
description (str, type(None)): [optional] # noqa: E501
_from (str, AddressEditable, type(None)): Must either be an address ID or an inline object with correct address parameters.. [optional] # noqa: E501
resource_type (str, type(None)): Mailpiece type for the creative. [optional] # noqa: E501
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
metadata (MetadataModel, type(None)): [optional] # noqa: E501
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
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
Expand Down Expand Up @@ -274,7 +274,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
description (str, type(None)): [optional] # noqa: E501
_from (str, AddressEditable, type(None)): Must either be an address ID or an inline object with correct address parameters.. [optional] # noqa: E501
resource_type (str, type(None)): Mailpiece type for the creative. [optional] # noqa: E501
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsReturned or LetterDetailsReturned. [optional] # noqa: E501
metadata (MetadataModel, type(None)): [optional] # noqa: E501
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
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
Expand Down
6 changes: 3 additions & 3 deletions lob_python/model/creative_writable.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def openapi_types():
'campaign_id': (str,), # noqa: E501
'description': (str, type(None)), # noqa: E501
'metadata': (MetadataModel, type(None)), # noqa: E501
'details': (, PostcardDetailsWritable, type(None)), # noqa: E501
'details': (PostcardDetailsWritable, type(None)), # noqa: E501
'file': (str, type(None)), # noqa: E501
'front': (str, type(None)), # noqa: E501
'back': (str, type(None)), # noqa: E501
Expand Down Expand Up @@ -170,7 +170,7 @@ def _from_openapi_data(cls, _from, resource_type, campaign_id, *args, **kwargs):
_visited_composed_classes = (Animal,)
description (str, type(None)): [optional] # noqa: E501
metadata (MetadataModel, type(None)): [optional] # noqa: E501
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsWritable or LetterDetailsWritable. [optional] # noqa: E501
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsWritable or LetterDetailsWritable. [optional] # noqa: E501
file (str, type(None)): PDF file containing the letter's formatting. Do not include for resource_type = postcard.. [optional] # noqa: E501
front (str, type(None)): The artwork to use as the front of your postcard. Do not include for resource_type = letter. . [optional] # noqa: E501
back (str, type(None)): The artwork to use as the back of your postcard. Do not include for resource_type = letter. . [optional] # noqa: E501
Expand Down Expand Up @@ -265,7 +265,7 @@ def __init__(self, _from, resource_type, campaign_id, *args, **kwargs): # noqa:
_visited_composed_classes = (Animal,)
description (str, type(None)): [optional] # noqa: E501
metadata (MetadataModel, type(None)): [optional] # noqa: E501
details (, PostcardDetailsWritable, type(None)): Either PostcardDetailsWritable or LetterDetailsWritable. [optional] # noqa: E501
details (PostcardDetailsWritable, type(None)): Either PostcardDetailsWritable or LetterDetailsWritable. [optional] # noqa: E501
file (str, type(None)): PDF file containing the letter's formatting. Do not include for resource_type = postcard.. [optional] # noqa: E501
front (str, type(None)): The artwork to use as the front of your postcard. Do not include for resource_type = letter. . [optional] # noqa: E501
back (str, type(None)): The artwork to use as the back of your postcard. Do not include for resource_type = letter. . [optional] # noqa: E501
Expand Down
6 changes: 3 additions & 3 deletions lob_python/model/letter_details_returned.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def openapi_types():
'double_sided': (bool, type(None)), # noqa: E501
'extra_service': (str, type(None)), # noqa: E501
'mail_type': (MailType, type(None)), # noqa: E501
'return_envelope': (, bool, type(None)), # noqa: E501
'return_envelope': (bool, type(None)), # noqa: E501
'bleed': (bool, type(None)), # noqa: E501
'file_original_url': (str, type(None)), # noqa: E501
}
Expand Down Expand Up @@ -178,7 +178,7 @@ def _from_openapi_data(cls, color, cards, *args, **kwargs): # noqa: E501
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
extra_service (str, type(None)): Add an extra service to your letter.. [optional] # noqa: E501
mail_type (MailType, type(None)): [optional] # noqa: E501
return_envelope (, bool, type(None)): [optional] # noqa: E501
return_envelope (bool, type(None)): [optional] # noqa: E501
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
file_original_url (str, type(None)): [optional] # noqa: E501
"""
Expand Down Expand Up @@ -273,7 +273,7 @@ def __init__(self, color, cards, *args, **kwargs): # noqa: E501
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
extra_service (str, type(None)): Add an extra service to your letter.. [optional] # noqa: E501
mail_type (MailType, type(None)): [optional] # noqa: E501
return_envelope (, bool, type(None)): [optional] # noqa: E501
return_envelope (bool, type(None)): [optional] # noqa: E501
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
file_original_url (str, type(None)): [optional] # noqa: E501
"""
Expand Down

0 comments on commit 9dc371f

Please sign in to comment.