mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
- added web api methods to update requests, samples using restful api - removed the old ad-doc web api - modified the data transfer code to use this api - code cleanup
17 lines
357 B
Python
Executable File
17 lines
357 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
|
|
import os, sys, traceback
|
|
sys.path.insert( 0, os.path.dirname( __file__ ) )
|
|
from common import update
|
|
|
|
try:
|
|
data = {}
|
|
data[ 'update_type' ] = 'request_state'
|
|
except IndexError:
|
|
print 'usage: %s key url' % os.path.basename( sys.argv[0] )
|
|
sys.exit( 1 )
|
|
|
|
update( sys.argv[1], sys.argv[2], data, return_formatted=True )
|
|
|