I know that if I put :

${ __app__.model.User.get( $__user_id__ ).api_keys[0].key }

in my tools xml file I am able to get the current api key.

The xml calls my python script with this value, which i then use to execute 
workflows via the API.

However, if this is value empty/blank is there a way I can generate an api key 
it from within my python script. i.e. is there a method I can call which would 
generate this for me?

Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

To search Galaxy mailing lists use the unified search at:

Reply via email to