Buckets:
| """Shared return type for test generation commands (#1072).""" | |
| from __future__ import annotations | |
| from typing import NamedTuple, Optional | |
| class TestResult(NamedTuple): | |
| """Return type for cmd_test_main and run_agentic_test_generate. | |
| Using a NamedTuple prevents the class of bug where callers use | |
| wrong positional indexes (the original cause of #1072). | |
| """ | |
| content: str | |
| cost: float | |
| model: str | |
| agentic_success: Optional[bool] | |
| error_message: str = "" | |
Xet Storage Details
- Size:
- 488 Bytes
- Xet hash:
- eb96b58966e8a9ddfd9411d480a2638e07cbe85ac01f4772cb2a64cab7dd6601
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.