-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* basic starters for batch operations * adding methods to make TableBatchOperations a context manager * more batch changes * adding more steps, stuck on the _base_client _batch_send method around the print statements * removing some print statements * updating a couple things * fridays updates * single insert on a batch returns a 201, but the response is not deserialized * batching works for insert entity * some tests are working, have an issue when there's a single item in the batch and it's not create * first iteration on batching, includes create, update, and delete * linting stuff and excluding batching for versions >3 * added upsert to batching * starting work on async code * batching support for async now * added test for different partition keys * changes to make the request not ask for a response from the service on inserts, no need to return the inserted entity * changed commit_batch to send_batch * Changed naming of PartialBatchErrorException to BatchErrorException * started work on BatchTransactionResponse * aligning more with .NET, working on deserializing the requests to build the entities again * fixed up a test and fixed pylint issues * added all operations into async batch, need to fix up testing, having a preparer error * got async batching working now, need to finish up addressing anna's comments and finish some small implementation details of the batch result object * addresses Annas comments, need to add a bit more to the transaction result and samples * adds a sample for batching, and documentation for the sphinx generation * finished up all comments on the batching for sync/async, will need a final review but is good to go on my end for release * updatest to batching, mostly for documentation * removing an unused import * removed batch.send_batch() method, closed client sessions on async tests * addressing Anna's comments, added another test to verify behavior, added length to the verify transaction result test method * test pipeline failed because cosmos requests were too close to each other, bumping up the delay and re trying Co-authored-by: annatisch <[email protected]>
- Loading branch information
1 parent
2302d4a
commit e58b5ab
Showing
65 changed files
with
13,859 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.