(default: Any)
| 512 | return str(typ) |
| 513 | |
| 514 | def default_name(default: Any) -> int | float | str | bool | None: |
| 515 | if isinstance(default, (int, float, str, bool, type(None))): |
| 516 | return default |
| 517 | if callable(default): |
| 518 | return f"<function {default.__module__}.{default.__name__}>" |
| 519 | return str(default) |
| 520 | |
| 521 | field_type = getattr(self, "related_model", self.field_type) |
| 522 |
nothing calls this directly
no outgoing calls
no test coverage detected