Trigger the load and then perform the deletion.
(self, attr)
| 224 | return getattr(self, attr) |
| 225 | |
| 226 | def __delattr__(self, attr): |
| 227 | """Trigger the load and then perform the deletion.""" |
| 228 | # To trigger the load and raise an exception if the attribute |
| 229 | # doesn't exist. |
| 230 | self.__getattribute__(attr) |
| 231 | delattr(self, attr) |
| 232 | |
| 233 | |
| 234 | class LazyLoader(Loader): |
nothing calls this directly
no test coverage detected