aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-06-11 11:20:15 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-06-11 11:20:15 -0700
commitc0a12558260cfe5c627e5751ce8e9a530628bb64 (patch)
tree35b066ab207f2708e7ddac665149bfa1f0de2799
parent0d55ba86bf4bfdb1fdf4513e8801405a9fe8ae4c (diff)
parent36b699c48f801698fd4c427c104a4494ed848ec4 (diff)
downloadgoogle-api-python-client-c0a12558260cfe5c627e5751ce8e9a530628bb64.tar.gz
Upgrade python/google-api-python-client to v1.7.9 am: 7368889c0c am: f343f63147
am: 36b699c48f Change-Id: I0c460366b4cfe79b92d293b37e45c45f3b30750a
-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>