(value: Any)
| 1407 | |
| 1408 | def _get_sort_value(self, item: dict[str, Any], sort_by: str): |
| 1409 | def date_value(value: Any) -> float: |
| 1410 | if value is None: |
| 1411 | return 0 |
| 1412 | if isinstance(value, datetime): |
| 1413 | return value.timestamp() |
| 1414 | return 0 |
| 1415 | |
| 1416 | sort_map = { |
| 1417 | "created_at": date_value(item.get("createdAt")), |
nothing calls this directly
no outgoing calls
no test coverage detected