gpf_entrepot_toolbelt.utils.dict_counter module¶
Helper to count values of a dictionary.
- gpf_entrepot_toolbelt.utils.dict_counter.count_dict_values(dico: dict, value: Any) int ¶
Count number of value occurrences in a dictionary.
- Paramètres:
dico (dict) – input dictionary
value (Any) – value to count
- Renvoie:
number of value occurrences
- Type renvoyé:
int