def _get_queue_arguments(conf):
 return ({'x-ha-policy': 'all'} if conf.rabbit_ha_queues else {})

def _get_queue_arguments ( conf ) : return ( { 'x-ha-policy' : 'all' } if conf . rabbit_ha_queues else { } )
construct the arguments for declaring a queue .