MCPcopy Index your code
hub / github.com/O365/python-o365 / TrackerSet

Class TrackerSet

O365/utils/utils.py:83–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82
83class TrackerSet(set):
84 def __init__(self, *args, casing=None, **kwargs):
85 """ A Custom Set that changes the casing of it's keys
86
87 :param func casing: a function to convert into specified case
88 """
89 self.cc = casing
90 super().__init__(*args, **kwargs)
91
92 def add(self, value):
93 value = self.cc(value)
94 super().add(value)
95
96 def remove(self, value):
97 value = self.cc(value)
98 super().remove(value)
99
100
101class Recipient:

Callers 10

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
_clear_trackerMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected