(data: Dict[str, Any])
| 777 | return value |
| 778 | |
| 779 | def _extract(data: Dict[str, Any]) -> Dict[str, Any]: |
| 780 | result = {} |
| 781 | for path in field_paths: |
| 782 | # 使用路径的最后一部分作为键名 |
| 783 | key = path.split('.')[-1] |
| 784 | result[key] = _get_nested_value(data, path) |
| 785 | return result |
| 786 | |
| 787 | return _extract |
| 788 |
nothing calls this directly
no test coverage detected