panos_util/panorama.py
def rule_counts(self, force_update=False) -> Counter:
        """Returns a Counter object containing stats for this DeviceGroup."""
        if self._rule_counts is None:
            self._rule_counts = Counter()
            self._update_rule_counts()
        else:
            if force_update is True:  # pragma: no cover
                self._update_rule_counts()

        return self._rule_counts
Returns a Counter object containing stats for this DeviceGroup.
Returns a Counter object containing stats for this DeviceGroup.
Returns a Counter object containing stats for this DeviceGroup .
def rule_counts(self, force_update=False) -> Counter:
        if self._rule_counts is None:
            self._rule_counts = Counter()
            self._update_rule_counts()
        else:
            if force_update is True:  
                self._update_rule_counts()
        return self._rule_counts
def rule_counts ( self , force_update = False ) -> Counter : if self . _rule_counts is None : self . _rule_counts = Counter ( ) self . _update_rule_counts ( ) else : if force_update is True : self . _update_rule_counts ( ) return self . _rule_counts
Returns a Counter object containing stats for this DeviceGroup.
Returns a Counter object containing stats for this DeviceGroup .
"""Returns a Counter object containing stats for this DeviceGroup.""" # pragma: no cover
self
force_update