From 5e1a7fbb1f5be7c13cecd07fedd299f7b10d6336 Mon Sep 17 00:00:00 2001 From: dfana Date: Fri, 14 Oct 2022 15:30:14 -0400 Subject: [PATCH] Release version 0.1.1 --- README.md | 2 +- docs/Keyword.md | 2 +- docs/KeywordsCommon.md | 2 +- pinterest/generated/client/__init__.py | 2 +- pinterest/generated/client/api_client.py | 2 +- pinterest/generated/client/configuration.py | 2 +- pinterest/generated/client/model/keyword.py | 6 +++--- pinterest/generated/client/model/keywords_common.py | 6 +++--- setup.py | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 3fd8fd3..2774e6f 100644 --- a/README.md +++ b/README.md @@ -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/) diff --git a/docs/Keyword.md b/docs/Keyword.md index fa1e802..d5676e2 100644 --- a/docs/Keyword.md +++ b/docs/Keyword.md @@ -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) diff --git a/docs/KeywordsCommon.md b/docs/KeywordsCommon.md index dcefb30..aa60e8b 100644 --- a/docs/KeywordsCommon.md +++ b/docs/KeywordsCommon.md @@ -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) diff --git a/pinterest/generated/client/__init__.py b/pinterest/generated/client/__init__.py index b32453c..9863249 100644 --- a/pinterest/generated/client/__init__.py +++ b/pinterest/generated/client/__init__.py @@ -11,7 +11,7 @@ """ -__version__ = "0.1.0" +__version__ = "0.1.1" # import ApiClient from pinterest.generated.client.api_client import ApiClient diff --git a/pinterest/generated/client/api_client.py b/pinterest/generated/client/api_client.py index 057dfbb..c4dd85a 100644 --- a/pinterest/generated/client/api_client.py +++ b/pinterest/generated/client/api_client.py @@ -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 diff --git a/pinterest/generated/client/configuration.py b/pinterest/generated/client/configuration.py index c034093..5aa7966 100644 --- a/pinterest/generated/client/configuration.py +++ b/pinterest/generated/client/configuration.py @@ -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): diff --git a/pinterest/generated/client/model/keyword.py b/pinterest/generated/client/model/keyword.py index 87e5924..f9585c0 100644 --- a/pinterest/generated/client/model/keyword.py +++ b/pinterest/generated/client/model/keyword.py @@ -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 @@ -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) @@ -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) diff --git a/pinterest/generated/client/model/keywords_common.py b/pinterest/generated/client/model/keywords_common.py index 94be445..a406545 100644 --- a/pinterest/generated/client/model/keywords_common.py +++ b/pinterest/generated/client/model/keywords_common.py @@ -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 @@ -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) @@ -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) diff --git a/setup.py b/setup.py index e82ff65..334321b 100644 --- a/setup.py +++ b/setup.py @@ -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