| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """This file contains buildbucket service client.""" | 5 """This file contains buildbucket service client.""" |
| 6 | 6 |
| 7 import datetime | 7 import datetime |
| 8 import json | 8 import json |
| 9 import os | 9 import os |
| 10 import urlparse | 10 import urlparse |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 rootDesc=discovery_doc, | 62 rootDesc=discovery_doc, |
| 63 schema=apiclient.schema.Schemas(discovery_doc)) | 63 schema=apiclient.schema.Schemas(discovery_doc)) |
| 64 | 64 |
| 65 return deferred_resource.DeferredResource( | 65 return deferred_resource.DeferredResource( |
| 66 resource, | 66 resource, |
| 67 credentials=cred_factory, | 67 credentials=cred_factory, |
| 68 max_concurrent_requests=10, | 68 max_concurrent_requests=10, |
| 69 verbose=verbose or False, | 69 verbose=verbose or False, |
| 70 log_prefix=common.LOG_PREFIX, | 70 log_prefix=common.LOG_PREFIX, |
| 71 timeout=60, | 71 timeout=60, |
| 72 http_client_name='buildbucket', |
| 72 ) | 73 ) |
| OLD | NEW |