Skip to content
Permalink
Browse files

docs: fix typo in thread safety example code (#1100)

  • Loading branch information
harrisonzhao committed Nov 23, 2020
1 parent d0110cf commit 5ae088dc027b89517b896a89a0aeb2ca80f492cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 5ae088d

Please sign in to comment.