code: def _get_thresholds(self):
          
          t = (
              self.warn_count,
              self.warn_percent or self.def_warning_threshold,
              self.crit_count,
              self.crit_percent or self.def_critical_threshold,
          )
          return t
docs: Get the warning and critical thresholds for this Limit.
  
          Return type is a 4-tuple of:
  
          1. warning integer (usage) threshold, or None
          2. warning percent threshold
          3. critical integer (usage) threshold, or None
          4. critical percent threshold
  
          :rtype: tuple