ced6eeb08bddca3663df4a14bfb6d35d387628da,descarteslabs/client/services/service/service.py,WrappedSession,request,#WrappedSession#Any#Any#,33
Before Change
elif resp.status_code == 400:
raise BadRequestError(resp.text)
elif resp.status_code == 404:
raise NotFoundError("404 %s %s" % (method, url))
elif resp.status_code == 409:
raise ConflictError(resp.text)
elif resp.status_code == 429:
raise RateLimitError(resp.text)
After Change
elif resp.status_code == 400:
raise BadRequestError(resp.text)
elif resp.status_code == 404:
raise NotFoundError(resp.text if "text" in resp else "404 {} {}".format(method, url))
elif resp.status_code == 409:
raise ConflictError(resp.text)
elif resp.status_code == 429:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: descarteslabs/descarteslabs-python
Commit Name: ced6eeb08bddca3663df4a14bfb6d35d387628da
Time: 2018-06-05
Author: clarkzinzow@gmail.com
File Name: descarteslabs/client/services/service/service.py
Class Name: WrappedSession
Method Name: request
Project Name: descarteslabs/descarteslabs-python
Commit Name: 912f6c25e4d95db8e3db506490268a5c80908ace
Time: 2019-04-23
Author: stephen@descarteslabs.com
File Name: descarteslabs/client/services/service/service.py
Class Name: WrappedSession
Method Name: request
Project Name: tensorflow/tensorboard
Commit Name: a02e5721ab5babc58e7d41cda5c0aaafe30320d1
Time: 2020-01-22
Author: wchargin@gmail.com
File Name: tensorboard/backend/event_processing/data_provider.py
Class Name: MultiplexerDataProvider
Method Name: read_blob