code: def getConParams(virtualhost):
      
      return pika.ConnectionParameters(
          host=settings.RABBITMQ_HOST,
          port=int(settings.RABBITMQ_PORT),
          virtual_host=virtualhost,
          credentials=pika.PlainCredentials(
              settings.RABBITMQ_USER_NAME,
              settings.RABBITMQ_USER_PASSWORD
          )
      )
docs: Connection object builder.
  
      Args:
          virtualhost (str): selected virtualhost in rabbitmq
  
      Returns:
          pika.ConnectionParameters: object filled by `constants` from
          :class:`edeposit.amqp.settings`.