MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / gatherMissingAttributes

Method gatherMissingAttributes

tests/ExposeAllAttributes.py:159–169  ·  view source on GitHub ↗
(self, objs)

Source from the content-addressed store, hash-verified

157 return (className, missingAttributes)
158
159 def gatherMissingAttributes(self, objs):
160 allMissingAttributes = dict()
161
162 for obj in objs:
163 className, attributesMissingInClass = self.findMissingAttributes(obj)
164 if len(attributesMissingInClass) > 0:
165 if className not in allMissingAttributes:
166 allMissingAttributes[className] = dict()
167 allMissingAttributes[className].update(attributesMissingInClass)
168
169 return allMissingAttributes

Callers 1

testAllClassesMethod · 0.95

Calls 2

findMissingAttributesMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected