-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding support for spanner request options tags (#276)
* feat: added support for request options with request tag and transaction tag in supported classes * feat: corrected import for RequestOptions * feat: request options added lint corrections * feat: added system test for request tagging * feat: added annotation to skip request tags validation test while using emulator * feat: lint fix * fix: remove request_option from batch * lint: lint fixes * refactor: undo changes * refactor: undo changes * refactor: remove test_system file, as it has been removed in master * refactor: update code to latest changes * feat: added support for request options with request tag and transaction tag in supported classes * feat: corrected import for RequestOptions * fix: add transaction_tag test for transaction_tag set in transaction class * fix: lint fixes * refactor: lint fixes * fix: change request_options dictionary to RequestOptions object * refactor: fix lint issues * refactor: lint fixes * refactor: move write txn properties to BatchBase * fix: use transaction tag on all write methods * feat: add support for batch commit * feat: add support for setting a transaction tag on batch checkout * refactor: update checks for readability * test: use separate expectation object for readability * test: add run_in_transaction test * test: remove test for unsupported behaviour * style: lint fixes Co-authored-by: larkee <larkee@users.noreply.github.com>
- Loading branch information
Showing
10 changed files
with
425 additions
and
25 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.