gemini-code-assist[bot] commented on code in PR #35803:
URL: https://github.com/apache/beam/pull/35803#discussion_r2268406137


##########
sdks/python/apache_beam/yaml/yaml_provider.py:
##########
@@ -27,6 +27,7 @@
 import json
 import logging
 import os
+import platform

Review Comment:
   ![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)
   
   The `platform` module is imported but it's not used in the file. It should 
be removed to keep the imports clean. The logic was simplified to use 
`shutil.which`, which is cross-platform and removes the need for explicit 
platform detection.



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