Commit cdddbf5
authored
Implement Pager resumption even through into_pages (#3286)
By design, we didn't support resuming `Pager` (`ItemIterator`) but, upon
further discussion, decided we can but will resume from the current page
until all items on the current page are processed.
This also fixes a problem that, because of the design, we didn't pass
through resumption to the `PageIterator` at all - it couldn't even
resume as a `PageIterator` for subsequent pages.1 parent c2e29f0 commit cdddbf5
File tree
21 files changed
+1313
-718
lines changed- sdk
- core
- azure_core_test/src
- azure_core
- src/http
- cosmos/azure_data_cosmos/src/pipeline
- keyvault
- azure_security_keyvault_certificates
- src/generated
- clients
- models
- azure_security_keyvault_keys
- src/generated
- clients
- models
- azure_security_keyvault_secrets
- src/generated
- clients
- models
- storage
- azure_storage_blob
- src/generated
- clients
- models
- azure_storage_queue
- src/generated
- clients
- models
21 files changed
+1313
-718
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
| 447 | + | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
| 585 | + | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
| 588 | + | |
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
621 | | - | |
622 | | - | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
623 | 635 | | |
624 | 636 | | |
625 | 637 | | |
| |||
830 | 842 | | |
831 | 843 | | |
832 | 844 | | |
833 | | - | |
| 845 | + | |
834 | 846 | | |
835 | 847 | | |
836 | 848 | | |
| |||
915 | 927 | | |
916 | 928 | | |
917 | 929 | | |
918 | | - | |
| 930 | + | |
919 | 931 | | |
920 | 932 | | |
921 | 933 | | |
| |||
1001 | 1013 | | |
1002 | 1014 | | |
1003 | 1015 | | |
1004 | | - | |
| 1016 | + | |
1005 | 1017 | | |
1006 | 1018 | | |
1007 | 1019 | | |
| |||
1087 | 1099 | | |
1088 | 1100 | | |
1089 | 1101 | | |
1090 | | - | |
| 1102 | + | |
1091 | 1103 | | |
1092 | 1104 | | |
1093 | 1105 | | |
| |||
1192 | 1204 | | |
1193 | 1205 | | |
1194 | 1206 | | |
1195 | | - | |
| 1207 | + | |
1196 | 1208 | | |
1197 | 1209 | | |
1198 | 1210 | | |
| |||
1311 | 1323 | | |
1312 | 1324 | | |
1313 | 1325 | | |
1314 | | - | |
| 1326 | + | |
1315 | 1327 | | |
1316 | 1328 | | |
1317 | 1329 | | |
| |||
1397 | 1409 | | |
1398 | 1410 | | |
1399 | 1411 | | |
1400 | | - | |
| 1412 | + | |
1401 | 1413 | | |
1402 | 1414 | | |
1403 | 1415 | | |
| |||
1483 | 1495 | | |
1484 | 1496 | | |
1485 | 1497 | | |
1486 | | - | |
| 1498 | + | |
1487 | 1499 | | |
1488 | 1500 | | |
1489 | 1501 | | |
| |||
1591 | 1603 | | |
1592 | 1604 | | |
1593 | 1605 | | |
1594 | | - | |
| 1606 | + | |
1595 | 1607 | | |
1596 | 1608 | | |
1597 | 1609 | | |
| |||
1703 | 1715 | | |
1704 | 1716 | | |
1705 | 1717 | | |
1706 | | - | |
| 1718 | + | |
1707 | 1719 | | |
1708 | 1720 | | |
1709 | 1721 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
129 | 138 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
137 | 142 | | |
138 | 143 | | |
139 | 144 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
0 commit comments