Skip to content

Commit

Permalink
docs: fix typo in thread safety example code (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonzhao committed Nov 23, 2020
1 parent d0110cf commit 5ae088d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/thread_safety.md
Expand Up @@ -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)

Expand Down

0 comments on commit 5ae088d

Please sign in to comment.