def get_connection_string():
 raw_ips = file_io.read(RABBITMQ_LOCATION_FILE)
 ips = raw_ips.split('\n')
 rabbitmq_ip = ips[0]
 return (((('amqp://guest:guest@' + rabbitmq_ip) + ':') + str(RABBITMQ_PORT)) + '//')

def get_connection_string ( ) : raw_ips = file_io . read ( RABBITMQ_LOCATION_FILE ) ips = raw_ips . split ( '\n' ) rabbitmq_ip = ips [ 0 ] return ( ( ( ( 'amqp://guest:guest@' + rabbitmq_ip ) + ':' ) + str ( RABBITMQ_PORT ) ) + '//' )
reads from the local fs to get the rabbitmq location to connect to .