-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streaming: add pep8 / pylint goodness #1210
Conversation
Theres a bit more than PEP8 changes in "Get 'pep8' working on 'gcloud/streaming'." (e.g. dropping |
return int(self.response['status']) | ||
|
||
@classmethod | ||
def FromResponse(cls, http_response): | ||
def from_response(cls, http_response): | ||
"""Factory: construct an exception from a resopnse.""" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -812,7 +1155,7 @@ def _send_chunk(self, start): | |||
end = body_stream.stream_end_position | |||
if body_stream.stream_exhausted: | |||
self.__total_size = end | |||
# TODO: Here, change body_stream from a stream to a string object, | |||
# Here, change body_stream from a stream to a string object, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Finished review |
LGTM |
Streaming: add pep8 / pylint goodness
Uses #1209 as a base.