riteshghorse commented on code in PR #30307:
URL: https://github.com/apache/beam/pull/30307#discussion_r1491794365


##########
sdks/python/apache_beam/io/requestresponse.py:
##########
@@ -107,6 +140,17 @@ def __enter__(self):
   def __exit__(self, exc_type, exc_val, exc_tb):
     return None
 
+  def get_cache_request_key(self, request: RequestT):
+    """Returns the request to be cached. This is how the
+    response will be looked up in the cache as well.
+
+    By default, entire request is cached as the key for the cache.
+    Implement this method to override the key for the cache.
+    For example, in `BigTableEnrichmentHandler`, the row key for the element

Review Comment:
   yeah. I don't know why I wrote BigTable but it is in 2.54.0 now. It is okay 
I think.



-- 
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]

Reply via email to