tvalentyn commented on code in PR #35958:
URL: https://github.com/apache/beam/pull/35958#discussion_r2301963768


##########
sdks/python/apache_beam/internal/code_object_pickler_test.py:
##########
@@ -126,83 +126,76 @@ def get_lambda_from_dictionary():
     return get_lambda_from_dictionary()
 
 
+prefix = (
+    "__main__" if __name__ == "__main__" else

Review Comment:
   1) in which case prefix is `__main__`
   2) does it make sense to determine `prefix` programmatically instead of 
hardcoding the values? 



-- 
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: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to