def id(opts):
 r = salt.utils.http.query((opts['proxy']['url'] + 'id'), decode_type='json', decode=True)
 return r['dict']['id'].encode('ascii', 'ignore')

def id ( opts ) : r = salt . utils . http . query ( ( opts [ 'proxy' ] [ 'url' ] + 'id' ) , decode_type = 'json' , decode = True ) return r [ 'dict' ] [ 'id' ] . encode ( 'ascii' , 'ignore' )
alias to dbref .