Skip to content

Commit

Permalink
fix: directly append to pb for beter read row performance (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Jul 20, 2021
1 parent 95b2e13 commit 7040e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/bigtable/row_set.py
Expand Up @@ -137,7 +137,7 @@ def _update_message_request(self, message):
:param message: The ``ReadRowsRequest`` protobuf
"""
for each in self.row_keys:
message.rows.row_keys.append(_to_bytes(each))
message.rows.row_keys._pb.append(_to_bytes(each))

for each in self.row_ranges:
r_kwrags = each.get_range_kwargs()
Expand Down

0 comments on commit 7040e11

Please sign in to comment.