MCPcopy Create free account
hub / github.com/O365/python-o365 / __init__

Method __init__

O365/utils/utils.py:84–90  ·  view source on GitHub ↗

A Custom Set that changes the casing of it's keys :param func casing: a function to convert into specified case

(self, *args, casing=None, **kwargs)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected