MCPcopy
hub / github.com/google/python-fire / AddAccessedProperty

Method AddAccessedProperty

fire/trace.py:84–93  ·  view source on GitHub ↗
(self, component, target, args, filename, lineno)

Source from the content-addressed store, hash-verified

82 return self.elements[-1].HasError()
83
84 def AddAccessedProperty(self, component, target, args, filename, lineno):
85 element = FireTraceElement(
86 component=component,
87 action=ACCESSED_PROPERTY,
88 target=target,
89 args=args,
90 filename=filename,
91 lineno=lineno,
92 )
93 self.elements.append(element)
94
95 def AddCalledComponent(self, component, target, args, filename, lineno,
96 capacity, action=CALLED_CALLABLE):

Callers 5

testUsageOutputMethodMethod · 0.95
_FireFunction · 0.95
testFireTraceHasErrorMethod · 0.95

Calls 1

FireTraceElementClass · 0.85

Tested by 4

testUsageOutputMethodMethod · 0.76
testFireTraceHasErrorMethod · 0.76