Skip to content

Commit

Permalink
Merge pull request #20 from JoeCqupt/main
Browse files Browse the repository at this point in the history
2022.2.1.5-SNAPSHOT
  • Loading branch information
JoeCqupt authored Apr 7, 2022
2 parents 384b683 + 9e4b724 commit ad02019
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion java/baiduads-sdk-auto/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion java/baiduads-sdk-auto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions java/baiduads-sdk-auto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.baidu.dev2</groupId>
<artifactId>baiduads-sdk-parent</artifactId>
<version>2022.2.1.4-SNAPSHOT</version>
<version>2022.2.1.5-SNAPSHOT</version>
</parent>
<groupId>com.baidu.dev2</groupId>
<artifactId>baiduads-sdk-auto</artifactId>
<version>2022.2.1.4-SNAPSHOT</version>
<version>2022.2.1.5-SNAPSHOT</version>
<name>baiduads-sdk-auto</name>
<description>dev2-auto-sdk</description>
<url>https://github.com/openapitools/openapi-generator</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Authentication>();
Expand Down
4 changes: 2 additions & 2 deletions java/baiduads-sdk-thirdparty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.baidu.dev2</groupId>
<artifactId>baiduads-sdk-parent</artifactId>
<version>2022.2.1.4-SNAPSHOT</version>
<version>2022.2.1.5-SNAPSHOT</version>
</parent>
<groupId>com.baidu.dev2</groupId>
<artifactId>baiduads-sdk-thirdparty</artifactId>
<version>2022.2.1.4-SNAPSHOT</version>
<version>2022.2.1.5-SNAPSHOT</version>
<name>baiduads-sdk-thirdparty</name>
<url>https://github.com/baidu/baiduads-sdk</url>
<properties>
Expand Down
4 changes: 2 additions & 2 deletions java/baiduads-sdk/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<parent>
<artifactId>baiduads-sdk-parent</artifactId>
<groupId>com.baidu.dev2</groupId>
<version>2022.2.1.3-SNAPSHOT</version>
<version>2022.2.1.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>baiduads-sdk</artifactId>
<version>2022.2.1.3-SNAPSHOT</version>
<version>2022.2.1.2-SNAPSHOT</version>
<build>
<plugins>
<plugin>
Expand Down
6 changes: 3 additions & 3 deletions java/baiduads-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<parent>
<groupId>com.baidu.dev2</groupId>
<artifactId>baiduads-sdk-parent</artifactId>
<version>2022.2.1.4-SNAPSHOT</version>
<version>2022.2.1.5-SNAPSHOT</version>
</parent>
<artifactId>baiduads-sdk</artifactId>
<version>2022.2.1.4-SNAPSHOT</version>
<version>2022.2.1.5-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>com.baidu.dev2</groupId>
<artifactId>baiduads-sdk-auto</artifactId>
<version>2022.2.1.4-SNAPSHOT</version>
<version>2022.2.1.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.baidu.dev2</groupId>
<artifactId>baiduads-sdk-parent</artifactId>
<version>2022.2.1.4-SNAPSHOT</version>
<version>2022.2.1.5-SNAPSHOT</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>baiduads-sdk for java</description>
Expand Down
2 changes: 1 addition & 1 deletion python/baiduads-sdk-auto/baiduads/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions python/baiduads-sdk-auto/baiduads/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion python/baiduads-sdk-auto/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def upload_file(self,
file,
formParams=[],
paramsJson={},
/,
returnType=None,
fileKey="file",
multipartThreshold=DEFAULT_MULTIPART_THRESHOLD,
Expand Down
2 changes: 1 addition & 1 deletion python/baiduads-sdk/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
baiduads-sdk-auto-snapshot >= 2022.2.1.4
baiduads-sdk-auto-snapshot >= 2022.2.1.5
2 changes: 1 addition & 1 deletion python/baiduads-sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad02019

Please sign in to comment.