Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pinterest's REST API
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 5.6.0
- Package version: 0.1.0
- Package version: 0.1.1
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://developers.pinterest.com/](https://developers.pinterest.com/)

Expand Down
2 changes: 1 addition & 1 deletion docs/Keyword.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**parent_id** | **str** | Keyword parent entity ID (advertiser, campaign, ad group). | [optional]
**parent_type** | **str** | Parent entity type | [optional]
**type** | **str** | Always keyword | [optional]
**bid** | **float** | Keyword custom bid | [optional]
**bid** | **int, none_type** | Keyword custom bid in microcurrency - null if inherited from parent ad group. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/KeywordsCommon.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**match_type** | [**MatchTypeResponse**](MatchTypeResponse.md) | |
**value** | **str** | Keyword value (120 chars max). |
**bid** | **float** | Keyword custom bid | [optional]
**bid** | **int, none_type** | Keyword custom bid in microcurrency - null if inherited from parent ad group. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion pinterest/generated/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""


__version__ = "0.1.0"
__version__ = "0.1.1"

# import ApiClient
from pinterest.generated.client.api_client import ApiClient
Expand Down
2 changes: 1 addition & 1 deletion pinterest/generated/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'pins-generated-client/python/0.1.0'
self.user_agent = 'pins-generated-client/python/0.1.1'

def __enter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion pinterest/generated/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 5.6.0\n"\
"SDK Package Version: 0.1.0".\
"SDK Package Version: 0.1.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
6 changes: 3 additions & 3 deletions pinterest/generated/client/model/keyword.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def openapi_types():
'parent_id': (str,), # noqa: E501
'parent_type': (str,), # noqa: E501
'type': (str,), # noqa: E501
'bid': (float,), # noqa: E501
'bid': (int, none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -172,7 +172,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
parent_id (str): Keyword parent entity ID (advertiser, campaign, ad group).. [optional] # noqa: E501
parent_type (str): Parent entity type. [optional] # noqa: E501
type (str): Always keyword. [optional] # noqa: E501
bid (float): Keyword custom bid. [optional] # noqa: E501
bid (int, none_type): Keyword custom bid in microcurrency - null if inherited from parent ad group.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -279,7 +279,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
parent_id (str): Keyword parent entity ID (advertiser, campaign, ad group).. [optional] # noqa: E501
parent_type (str): Parent entity type. [optional] # noqa: E501
type (str): Always keyword. [optional] # noqa: E501
bid (float): Keyword custom bid. [optional] # noqa: E501
bid (int, none_type): Keyword custom bid in microcurrency - null if inherited from parent ad group.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
6 changes: 3 additions & 3 deletions pinterest/generated/client/model/keywords_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def openapi_types():
return {
'match_type': (MatchTypeResponse,), # noqa: E501
'value': (str,), # noqa: E501
'bid': (float,), # noqa: E501
'bid': (int, none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -149,7 +149,7 @@ def _from_openapi_data(cls, match_type, value, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
bid (float): Keyword custom bid. [optional] # noqa: E501
bid (int, none_type): Keyword custom bid in microcurrency - null if inherited from parent ad group.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -237,7 +237,7 @@ def __init__(self, match_type, value, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
bid (float): Keyword custom bid. [optional] # noqa: E501
bid (int, none_type): Keyword custom bid in microcurrency - null if inherited from parent ad group.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "Pinterest Generated Client"
VERSION = "0.1.0"
VERSION = "0.1.1"
# To install the library, run the following
#
# python setup.py install
Expand Down