Must be implemented by subclasses to initialize the wrapped object.
(self)
| 303 | delattr(self._wrapped, name) |
| 304 | |
| 305 | def _setup(self): |
| 306 | """ |
| 307 | Must be implemented by subclasses to initialize the wrapped object. |
| 308 | """ |
| 309 | raise NotImplementedError( |
| 310 | "subclasses of LazyObject must provide a _setup() method" |
| 311 | ) |
| 312 | |
| 313 | # Because we have messed with __class__ below, we confuse pickle as to what |
| 314 | # class we are pickling. We're going to have to initialize the wrapped |
no outgoing calls
no test coverage detected