From 1ef4223b6d06a9a695671503fcaff77b1335d28a Mon Sep 17 00:00:00 2001 From: Harrison Zhao Date: Sun, 22 Nov 2020 15:01:20 -0800 Subject: [PATCH] docs: fix typo in thread safety example code --- docs/thread_safety.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/thread_safety.md b/docs/thread_safety.md index 69f369e21ca..d29ba71bffe 100644 --- a/docs/thread_safety.md +++ b/docs/thread_safety.md @@ -17,7 +17,7 @@ from googleapiclient import discovery # Create a new Http() object for every request def build_request(http, *args, **kwargs): - new_htpp = google_auth_httplib2.AuthorizedHttp(credentials, http=httplib2.Http()) + new_http = google_auth_httplib2.AuthorizedHttp(credentials, http=httplib2.Http()) return googleapiclient.http.HttpRequest(new_http, *args, **kwargs) service = discovery.build('api_name', 'api_version', requestBuilder=build_request)