(self, instance, owner)
| 2174 | ) |
| 2175 | |
| 2176 | def __get__(self, instance, owner): |
| 2177 | value = super().__get__(instance, owner) |
| 2178 | if value is None and instance._initialised: |
| 2179 | value = self.generate() |
| 2180 | instance._data[self.name] = value |
| 2181 | instance._mark_as_changed(self.name) |
| 2182 | |
| 2183 | return value |
| 2184 | |
| 2185 | def __set__(self, instance, value): |
| 2186 | if value is None and instance._initialised: |
nothing calls this directly
no test coverage detected