aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-05-22 17:33:56 -0700
committerHaibo Huang <hhb@google.com>2019-06-11 17:57:26 +0000
commit7368889c0c3a30c7af10120d4a31c86197cbfe34 (patch)
tree35b066ab207f2708e7ddac665149bfa1f0de2799
parenta1145dac63a9587419d4eefad26b53118b75f921 (diff)
parentffea1a7fe9d381d23ab59048263c631cc2b45323 (diff)
downloadgoogle-api-python-client-7368889c0c3a30c7af10120d4a31c86197cbfe34.tar.gz
Upgrade python/google-api-python-client to v1.7.9
Test: None Exempt-From-Owner-Approval: Upgrade library Change-Id: I958ce78411ada69091c58ee7780feb766d7bd1a2
-rw-r--r--CHANGELOG7
-rw-r--r--METADATA6
-rw-r--r--googleapiclient/__init__.py2
-rw-r--r--googleapiclient/http.py8
-rw-r--r--samples/README.md17
5 files changed, 15 insertions, 25 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 4c11cd39c..9591e2fe6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,10 @@
+v1.7.9
+ Version 1.7.9
+
+ Bugfix release
+ - Remove Django Samples. ([#657](https://github.com/googleapis/google-api-python-client/pull/657))
+ - Call request_orig with kwargs ([#658](https://github.com/googleapis/google-api-python-client/pull/658))
+
v1.7.8
Version 1.7.8
diff --git a/METADATA b/METADATA
index 616b80254..3548628ac 100644
--- a/METADATA
+++ b/METADATA
@@ -9,10 +9,10 @@ third_party {
type: GIT
value: "https://github.com/google/google-api-python-client"
}
- version: "v1.7.8"
+ version: "v1.7.9"
last_upgrade_date {
year: 2019
- month: 2
- day: 1
+ month: 5
+ day: 22
}
}
diff --git a/googleapiclient/__init__.py b/googleapiclient/__init__.py
index ee986d294..dfb68b760 100644
--- a/googleapiclient/__init__.py
+++ b/googleapiclient/__init__.py
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "1.7.8"
+__version__ = "1.7.9"
# Set default logging handler to avoid "No handler found" warnings.
import logging
diff --git a/googleapiclient/http.py b/googleapiclient/http.py
index 4949d0cf3..5caca19c4 100644
--- a/googleapiclient/http.py
+++ b/googleapiclient/http.py
@@ -1720,8 +1720,8 @@ def set_user_agent(http, user_agent):
headers['user-agent'] = user_agent + ' ' + headers['user-agent']
else:
headers['user-agent'] = user_agent
- resp, content = request_orig(uri, method, body, headers,
- redirections, connection_type)
+ resp, content = request_orig(uri, method=method, body=body, headers=headers,
+ redirections=redirections, connection_type=connection_type)
return resp, content
http.request = new_request
@@ -1761,8 +1761,8 @@ def tunnel_patch(http):
'OAuth 1.0 request made with Credentials after tunnel_patch.')
headers['x-http-method-override'] = "PATCH"
method = 'POST'
- resp, content = request_orig(uri, method, body, headers,
- redirections, connection_type)
+ resp, content = request_orig(uri, method=method, body=body, headers=headers,
+ redirections=redirections, connection_type=connection_type)
return resp, content
http.request = new_request
diff --git a/samples/README.md b/samples/README.md
index c9c7cea55..d94e0ccb1 100644
--- a/samples/README.md
+++ b/samples/README.md
@@ -149,10 +149,6 @@ Documentation for the Google+ API in
<td><a href="plus">samples/plus</a></td>
<td>Loop over all a user's activities and print a short snippet</td>
</tr>
- <tr>
- <td><a href="django_sample">samples/django_sample</a></td>
- <td>Demonstrates oauth2client and the Google+ API from Django</td>
- </tr>
</table>
## ![](http://www.google.com/images/icons/feature/predictionapi-32.png) Prediction API
@@ -294,10 +290,6 @@ Documentation for the YouTube Data API in
Engine applications</td>
</tr>
<tr>
- <td><a href="django_sample">samples/django_sample</a></td>
- <td>Demonstrates oauth2client and the Google+ API from Django</td>
- </tr>
- <tr>
<td><a href="service_account">samples/service_account</a></td>
<td>Demonstrates working with service accounts</td>
</tr>
@@ -317,15 +309,6 @@ Documentation for the YouTube Data API in
</tr>
</table>
-# Django Samples
-
-<table>
- <tr>
- <td><a href="django_sample">samples/django_sample</a></td>
- <td>Demonstrates oauth2client and the Google+ API from Django</td>
- </tr>
-</table>
-
# Command-line Samples
<table>