Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: appengine/findit/util_scripts/sample_remote_api_query.py

Issue 2435863003: [Findit] Add local git parsers. (Closed)
Patch Set: Rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/findit/util_scripts/remote_api.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 """An example of using Remote API to query datastore on live App Engine.""" 5 """An example of using Remote API to query datastore on live App Engine."""
6 6
7 import remote_api # During importing, sys.path will be setup appropriately. 7 # During importing, sys.path will be setup appropriately.
8 import remote_api # pylint: disable=W
8 from model.wf_step import WfStep 9 from model.wf_step import WfStep
9 10
10 11
11 # Set up the Remote API to use services on the live App Engine. 12 # Set up the Remote API to use services on the live App Engine.
12 remote_api.EnableRemoteApi(app_id='findit-for-me') 13 remote_api.EnableRemoteApi(app_id='findit-for-me')
13 14
14 step = WfStep.Get('chromium.memory', 'Linux ASan Tests (sandboxed)', 11413, 15 step = WfStep.Get('chromium.memory', 'Linux ASan Tests (sandboxed)', 11413,
15 'browser_tests') 16 'browser_tests')
16 with open('/tmp/step.log', 'w') as f: 17 with open('/tmp/step.log', 'w') as f:
17 f.write(step.log_data) 18 f.write(step.log_data)
OLDNEW
« no previous file with comments | « appengine/findit/util_scripts/remote_api.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698