Return the output type of this expressions.
(self)
| 324 | |
| 325 | @cached_property |
| 326 | def output_field(self): |
| 327 | """Return the output type of this expressions.""" |
| 328 | output_field = self._resolve_output_field() |
| 329 | if output_field is None: |
| 330 | raise OutputFieldIsNoneError( |
| 331 | "Cannot resolve expression type, unknown output_field" |
| 332 | ) |
| 333 | return output_field |
| 334 | |
| 335 | @property |
| 336 | def _output_field_or_none(self): |
nothing calls this directly
no test coverage detected