@deferred_performer
def treq_get(dispatcher, intent):
 action = startAction(action_type=u'flocker:provision:_effect:treq_get')
 with action.context():
  Message.log(url=intent.url)
  d = DeferredContext(get(intent.url, persistent=False))
  d.addActionFinish()
  return d.result

@ deferred_performer def treq_get ( dispatcher , intent ) : action = startAction ( action_type = u'flocker:provision:_effect:treq_get' ) with action . context ( ) : Message . log ( url = intent . url ) d = DeferredContext ( get ( intent . url , persistent = False ) ) d . addActionFinish ( ) return d . result
performer to execute an http get .