shikhabhadoria commented on code in PR #41698:
URL: https://github.com/apache/beam/pull/41698#discussion_r4756997601
##########
sdks/python/apache_beam/transforms/enrichment_handlers/bigtable.py:
##########
@@ -165,4 +189,5 @@ def get_cache_key(self, request: beam.Row) -> str:
a request made to `Bigtable`."""
if self._row_key_fn:
return "row_key: %s" % str(self._row_key_fn(request))
- return "%s: %s" % (self._row_key, request._asdict()[self._row_key])
+ # Use %r so None and the literal string "None" do not collide.
Review Comment:
Removed the verbose inline comments and ran yapf on the test file.
@jrmccluskey ready for re-review!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]