Commit 0497631
[Cosmos] Session container fixes new branch (#41678)
* session container fixes
* async changes
* sync changes
* mypy/pylint
* Update _session.py
* mark query plan as fetched for query
* adjust logic after merging
* Update _base.py
* Update _base.py
* tests - missing sync mwr
* sync mwr tests, test fixes
* Update test_session_async.py
* Update test_backwards_compatibility.py
* Update test_backwards_compatibility.py
* Update test_backwards_compatibility_async.py
* Update test_backwards_compatibility_async.py
* Update test_backwards_compatibility.py
* Update execution_dispatcher.py
* merge leftovers
* slip
* Update test_backwards_compatibility.py
* Update test_backwards_compatibility.py
* Update test_query_hybrid_search_async.py
* further changes, changelog
* add tests
* typehint
* address comments
* Update _session.py
* Update _base.py
* ci tests
* merging main
* Update _cosmos_client_connection.py
* tests
* change session token logic
* Update _session.py
* small fixes
* Update _session.py
* Update _session.py
* updates
* update tests that checked for compound tokens - this will no longer be the case
* Update test_config.py
* Update execution_dispatcher.py
* remove query logic
* remove partition split testing
* oylint
* Update dev_requirements.txt
* delete duplicate
* update tests for partition split
* change timeout of split partition key tests
reduces timeout from 25 minutes to 7 minutes
* update test
* Test fixes
Fixes tests to accomodate the extra readfeed that may happen during a read item operation. This also includes other general test fixes.
* update tests
* update tests
Updates tests
and fixes a key error issue in session.py
* add logger to session token
* Update _session.py
* Update _session.py
* Update test_session.py
* async changes
* small test fixes - align sync and async
* small updates
* Update documents.py
* test updates
* Update _session.py
* async tests
* pylint
* tests
* logic fixes, test updates
* leftover changes
* match session logic exactly
* propagate headers to request params for retry logic
* Update CHANGELOG.md
* revert session token dropping
* last test updates
* Update _session.py
* update session token on errors
* reformat internal exceptions
* change string for constant
* address comments
---------
Co-authored-by: Simon Moreno <[email protected]>1 parent 0d79413 commit 0497631
File tree
41 files changed
+1266
-479
lines changed- sdk/cosmos/azure-cosmos
- azure/cosmos
- _execution_context
- aio
- aio
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+1266
-479
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 179 | + | |
183 | 180 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
| 181 | + | |
208 | 182 | | |
209 | 183 | | |
210 | 184 | | |
| |||
349 | 323 | | |
350 | 324 | | |
351 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
352 | 397 | | |
353 | 398 | | |
354 | 399 | | |
| |||
0 commit comments