Commit bb9d7cf
committed
fix(responses): improve type annotations in AsyncResponses.wait_until_completed
- Use Optional[List[ResponseIncludable]] for include
- Pass omit when include is None to satisfy type checker
- Explicitly cast resp to Response to silence Pyright errors
- Ensure static type safety and pass all lints1 parent 78295cb commit bb9d7cf
1 file changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | | - | |
1501 | | - | |
1502 | | - | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
| |||
1513 | 1513 | | |
1514 | 1514 | | |
1515 | 1515 | | |
1516 | | - | |
1517 | 1516 | | |
1518 | | - | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
1519 | 1520 | | |
1520 | | - | |
1521 | | - | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
1522 | 1525 | | |
1523 | 1526 | | |
1524 | 1527 | | |
1525 | 1528 | | |
| 1529 | + | |
1526 | 1530 | | |
1527 | 1531 | | |
1528 | 1532 | | |
| |||
0 commit comments