(self)
| 21 | return self.model_dump() |
| 22 | |
| 23 | def to_response_dict(self) -> Dict: |
| 24 | response_dict = self.model_dump() |
| 25 | for field in self.fields_exclude_in_response(): |
| 26 | response_dict.pop(field, None) |
| 27 | return response_dict |
| 28 | |
| 29 | # --- static attributes --- |
| 30 |
nothing calls this directly
no test coverage detected