Skip to content

Commit

Permalink
flake8 & blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast committed Apr 29, 2019
1 parent 590316a commit ec4a491
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bigquery/google/cloud/bigquery/_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ def USER_AGENT(self, value):

@property
def _EXTRA_HEADERS(self):
self._extra_headers[_http.CLIENT_INFO_HEADER] = self._client_info.to_user_agent()
self._extra_headers[
_http.CLIENT_INFO_HEADER
] = self._client_info.to_user_agent()
return self._extra_headers

@_EXTRA_HEADERS.setter
Expand Down
2 changes: 1 addition & 1 deletion bigquery/tests/unit/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ def test_get_table_sets_user_agent(self):
_http=http,
)

table = client.get_table(self.TABLE_REF)
client.get_table(self.TABLE_REF)

expected_user_agent = user_agent_override.to_user_agent()
http.request.assert_called_once_with(
Expand Down

0 comments on commit ec4a491

Please sign in to comment.