Commit 679f447
fix: make multiget async-aware, fix _post_load_by_multiget, deprecate calendar_multiget
- multiget() now dispatches to _async_multiget_objects() for async clients,
following the ASYNC_DUAL_MODE pattern
- extracted _post_multiget() shared post-processing helper
- added _async_multiget_objects() async counterpart
- _post_load_by_multiget() now calls iter() so it works with both generator
(_multiget) and list (_async_multiget) inputs
- calendar_multiget() now emits DeprecationWarning pointing to multiget()
- test_multi_get updated to use multiget() directly (not deprecated calendar_multiget)
- fix test_async_integration.py: use save-load.mutable instead of no-overwrite flag
prompt: tests/test_async_integration.py::TestAsyncForXandikos::test_multi_get fails in the git worktree branch on /tmp/caldav-async-tests/, fix multiget in collection.py to be async-aware, following the pattern in docs/design/ASYNC_DUAL_MODE.md
followup-prompt: wait. calendar_multiget is deprecated and scheduled for deletion. Any test code exercising calendar_multiget can be removed or rewritten to use self.multiget instead.
followup-prompt: Add deprecation warnings to that calendar_multiget method
followup-prompt: commit (include the save-load.mutable fix)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2cd6332 commit 679f447
3 files changed
Lines changed: 38 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1071 | 1071 | | |
1072 | 1072 | | |
1073 | 1073 | | |
| 1074 | + | |
1074 | 1075 | | |
1075 | 1076 | | |
1076 | 1077 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
| 1083 | + | |
1083 | 1084 | | |
1084 | 1085 | | |
1085 | 1086 | | |
| |||
1098 | 1099 | | |
1099 | 1100 | | |
1100 | 1101 | | |
1101 | | - | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
1102 | 1115 | | |
1103 | 1116 | | |
1104 | 1117 | | |
1105 | 1118 | | |
1106 | 1119 | | |
1107 | 1120 | | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
1118 | 1124 | | |
1119 | 1125 | | |
1120 | 1126 | | |
1121 | 1127 | | |
1122 | | - | |
| 1128 | + | |
1123 | 1129 | | |
1124 | 1130 | | |
1125 | 1131 | | |
| |||
1134 | 1140 | | |
1135 | 1141 | | |
1136 | 1142 | | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
1137 | 1151 | | |
1138 | 1152 | | |
1139 | 1153 | | |
1140 | 1154 | | |
1141 | 1155 | | |
1142 | 1156 | | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1143 | 1160 | | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1144 | 1166 | | |
1145 | 1167 | | |
1146 | 1168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
| 623 | + | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| |||
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
721 | | - | |
| 721 | + | |
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
| 739 | + | |
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
| |||
0 commit comments