From 9e4b724f9827a2e87c151a64c84501a1b146f4c4 Mon Sep 17 00:00:00 2001 From: jiangyuan04 Date: Thu, 7 Apr 2022 19:35:28 +0800 Subject: [PATCH] 2022.2.1.5-SNAPSHOT --- java/baiduads-sdk-auto/api/openapi.yaml | 2 +- java/baiduads-sdk-auto/build.gradle | 2 +- java/baiduads-sdk-auto/pom.xml | 4 ++-- .../main/java/com/baidu/dev2/api/sdk/invoke/ApiClient.java | 2 +- java/baiduads-sdk-thirdparty/pom.xml | 4 ++-- java/baiduads-sdk/dependency-reduced-pom.xml | 4 ++-- java/baiduads-sdk/pom.xml | 6 +++--- java/pom.xml | 2 +- python/baiduads-sdk-auto/baiduads/api_client.py | 2 +- python/baiduads-sdk-auto/baiduads/configuration.py | 4 ++-- python/baiduads-sdk-auto/setup.py | 2 +- python/baiduads-sdk/baiduads_manual/upload/upload_client.py | 1 - python/baiduads-sdk/requirements.txt | 2 +- python/baiduads-sdk/setup.py | 2 +- 14 files changed, 19 insertions(+), 20 deletions(-) diff --git a/java/baiduads-sdk-auto/api/openapi.yaml b/java/baiduads-sdk-auto/api/openapi.yaml index 5852219ef..28870cad6 100644 --- a/java/baiduads-sdk-auto/api/openapi.yaml +++ b/java/baiduads-sdk-auto/api/openapi.yaml @@ -2,7 +2,7 @@ openapi: 3.0.1 info: description: '''dev2.baidu.com'' api schema' title: dev2 api schema - version: 2022.2.1.4-SNAPSHOT + version: 2022.2.1.5-SNAPSHOT servers: - url: https://api.baidu.com/ - url: http://api.baidu.com/ diff --git a/java/baiduads-sdk-auto/build.gradle b/java/baiduads-sdk-auto/build.gradle index b1d3f3052..c27399742 100644 --- a/java/baiduads-sdk-auto/build.gradle +++ b/java/baiduads-sdk-auto/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'com.baidu.dev2' -version = '2022.2.1.4-SNAPSHOT' +version = '2022.2.1.5-SNAPSHOT' buildscript { repositories { diff --git a/java/baiduads-sdk-auto/pom.xml b/java/baiduads-sdk-auto/pom.xml index e7235457a..8fa53f26a 100644 --- a/java/baiduads-sdk-auto/pom.xml +++ b/java/baiduads-sdk-auto/pom.xml @@ -5,11 +5,11 @@ com.baidu.dev2 baiduads-sdk-parent - 2022.2.1.4-SNAPSHOT + 2022.2.1.5-SNAPSHOT com.baidu.dev2 baiduads-sdk-auto - 2022.2.1.4-SNAPSHOT + 2022.2.1.5-SNAPSHOT baiduads-sdk-auto dev2-auto-sdk https://github.com/openapitools/openapi-generator diff --git a/java/baiduads-sdk-auto/src/main/java/com/baidu/dev2/api/sdk/invoke/ApiClient.java b/java/baiduads-sdk-auto/src/main/java/com/baidu/dev2/api/sdk/invoke/ApiClient.java index 0bbdaa936..f6bc2e5f8 100644 --- a/java/baiduads-sdk-auto/src/main/java/com/baidu/dev2/api/sdk/invoke/ApiClient.java +++ b/java/baiduads-sdk-auto/src/main/java/com/baidu/dev2/api/sdk/invoke/ApiClient.java @@ -123,7 +123,7 @@ public ApiClient(CloseableHttpClient httpClient) { dateFormat = ApiClient.buildDefaultDateFormat(); // Set default User-Agent. - setUserAgent("baiduads-sdk/2022.2.1.4-SNAPSHOT/java"); + setUserAgent("baiduads-sdk/2022.2.1.5-SNAPSHOT/java"); // Setup authentications (key: authentication name, value: authentication). authentications = new HashMap(); diff --git a/java/baiduads-sdk-thirdparty/pom.xml b/java/baiduads-sdk-thirdparty/pom.xml index d61068c4f..d23790503 100644 --- a/java/baiduads-sdk-thirdparty/pom.xml +++ b/java/baiduads-sdk-thirdparty/pom.xml @@ -5,11 +5,11 @@ com.baidu.dev2 baiduads-sdk-parent - 2022.2.1.4-SNAPSHOT + 2022.2.1.5-SNAPSHOT com.baidu.dev2 baiduads-sdk-thirdparty - 2022.2.1.4-SNAPSHOT + 2022.2.1.5-SNAPSHOT baiduads-sdk-thirdparty https://github.com/baidu/baiduads-sdk diff --git a/java/baiduads-sdk/dependency-reduced-pom.xml b/java/baiduads-sdk/dependency-reduced-pom.xml index 6deb11d56..cb6860c4f 100644 --- a/java/baiduads-sdk/dependency-reduced-pom.xml +++ b/java/baiduads-sdk/dependency-reduced-pom.xml @@ -3,11 +3,11 @@ baiduads-sdk-parent com.baidu.dev2 - 2022.2.1.3-SNAPSHOT + 2022.2.1.2-SNAPSHOT 4.0.0 baiduads-sdk - 2022.2.1.3-SNAPSHOT + 2022.2.1.2-SNAPSHOT diff --git a/java/baiduads-sdk/pom.xml b/java/baiduads-sdk/pom.xml index 3a87501c5..89042b962 100644 --- a/java/baiduads-sdk/pom.xml +++ b/java/baiduads-sdk/pom.xml @@ -5,15 +5,15 @@ com.baidu.dev2 baiduads-sdk-parent - 2022.2.1.4-SNAPSHOT + 2022.2.1.5-SNAPSHOT baiduads-sdk - 2022.2.1.4-SNAPSHOT + 2022.2.1.5-SNAPSHOT com.baidu.dev2 baiduads-sdk-auto - 2022.2.1.4-SNAPSHOT + 2022.2.1.5-SNAPSHOT junit diff --git a/java/pom.xml b/java/pom.xml index edb673c65..aafae6f37 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.baidu.dev2 baiduads-sdk-parent - 2022.2.1.4-SNAPSHOT + 2022.2.1.5-SNAPSHOT pom ${project.artifactId} baiduads-sdk for java diff --git a/python/baiduads-sdk-auto/baiduads/api_client.py b/python/baiduads-sdk-auto/baiduads/api_client.py index 5c0e518e5..a31078c9f 100644 --- a/python/baiduads-sdk-auto/baiduads/api_client.py +++ b/python/baiduads-sdk-auto/baiduads/api_client.py @@ -75,7 +75,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 = 'baiduads-sdk/2022.2.1.4-SNAPSHOT/python' + self.user_agent = 'baiduads-sdk/2022.2.1.5-SNAPSHOT/python' def __enter__(self): return self diff --git a/python/baiduads-sdk-auto/baiduads/configuration.py b/python/baiduads-sdk-auto/baiduads/configuration.py index 73ffaa930..f51a2ad9f 100644 --- a/python/baiduads-sdk-auto/baiduads/configuration.py +++ b/python/baiduads-sdk-auto/baiduads/configuration.py @@ -378,8 +378,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 2022.2.1.4-SNAPSHOT\n"\ - "SDK Package Version: 2022.2.1.4-SNAPSHOT".\ + "Version of the API: 2022.2.1.5-SNAPSHOT\n"\ + "SDK Package Version: 2022.2.1.5-SNAPSHOT".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/python/baiduads-sdk-auto/setup.py b/python/baiduads-sdk-auto/setup.py index 58c29ee3f..45f6b2d4c 100644 --- a/python/baiduads-sdk-auto/setup.py +++ b/python/baiduads-sdk-auto/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "baiduads-sdk-auto-snapshot" -VERSION = "2022.2.1.4" +VERSION = "2022.2.1.5" # To install the library, run the following # # python setup.py install diff --git a/python/baiduads-sdk/baiduads_manual/upload/upload_client.py b/python/baiduads-sdk/baiduads_manual/upload/upload_client.py index 7008783d4..9ef02aec3 100644 --- a/python/baiduads-sdk/baiduads_manual/upload/upload_client.py +++ b/python/baiduads-sdk/baiduads_manual/upload/upload_client.py @@ -48,7 +48,6 @@ def upload_file(self, file, formParams=[], paramsJson={}, - /, returnType=None, fileKey="file", multipartThreshold=DEFAULT_MULTIPART_THRESHOLD, diff --git a/python/baiduads-sdk/requirements.txt b/python/baiduads-sdk/requirements.txt index 02b54ddbf..453591827 100644 --- a/python/baiduads-sdk/requirements.txt +++ b/python/baiduads-sdk/requirements.txt @@ -1 +1 @@ -baiduads-sdk-auto-snapshot >= 2022.2.1.4 +baiduads-sdk-auto-snapshot >= 2022.2.1.5 diff --git a/python/baiduads-sdk/setup.py b/python/baiduads-sdk/setup.py index 226b31c05..e46c103f2 100644 --- a/python/baiduads-sdk/setup.py +++ b/python/baiduads-sdk/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "baiduads-sdk-snapshot" -VERSION = "2022.2.1.4" +VERSION = "2022.2.1.5" # To install the library, run the following # # python setup.py install