(self, function)
| 4 | |
| 5 | class LazyProperty: |
| 6 | def __init__(self, function): |
| 7 | self.function = function |
| 8 | self.name = function.__name__ |
| 9 | |
| 10 | def __get__(self, obj, type=None) -> object: |
| 11 | obj.__dict__[self.name] = self.function(obj) |
nothing calls this directly
no outgoing calls
no test coverage detected