Commit ff7f190
fix: Ensure message fields are copied when building retry request (#533)
* fix: Ensure message fields are copied when building retry request
Use the to_dict() function when building the ReadRowsRequest arguments.
This way, all available fields in the message will get copied over.
The `message.filter` field needed a special handling, since the to_dict() function doesn't seem to parse the value the way we want it to be.
Fixes internal bug #214449800
* Use copy_from instead of to_dict.
copy_from doesn't copy over "empty" fields, so had to adjust the test case expected values.
* Use the copy_from function from proto.Message
* Bump the min version of proto-plus
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent c1265ba commit ff7f190
File tree
4 files changed
+11
-15
lines changed- google/cloud/bigtable
- testing
- tests/unit
4 files changed
+11
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
| 628 | + | |
| 629 | + | |
635 | 630 | | |
636 | 631 | | |
637 | | - | |
| 632 | + | |
| 633 | + | |
638 | 634 | | |
639 | 635 | | |
640 | 636 | | |
| |||
643 | 639 | | |
644 | 640 | | |
645 | 641 | | |
646 | | - | |
| 642 | + | |
647 | 643 | | |
648 | 644 | | |
649 | 645 | | |
650 | | - | |
| 646 | + | |
651 | 647 | | |
652 | 648 | | |
653 | | - | |
| 649 | + | |
654 | 650 | | |
655 | 651 | | |
656 | 652 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
| 931 | + | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | | - | |
| 1024 | + | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
| |||
0 commit comments