code: def send(*args, **kwargs):
      
      queue_flag = kwargs.pop("queue", False)
      now_flag = kwargs.pop("now", False)
      assert not (queue_flag and now_flag), "'queue' and 'now' cannot both be True."
      if queue_flag:
          return queue(*args, **kwargs)
      elif now_flag:
          return send_now(*args, **kwargs)
      else:
          if QUEUE_ALL:
              return queue(*args, **kwargs)
          else:
              return send_now(*args, **kwargs)
docs: A basic interface around both queue and send_now. This honors a global
      flag NOTIFICATION_QUEUE_ALL that helps determine whether all calls should
      be queued or not. A per call ``queue`` or ``now`` keyword argument can be
      used to always override the default global behavior.