gaogaotiantian commented on code in PR #53862: URL: https://github.com/apache/spark/pull/53862#discussion_r2709764619
########## python/pyspark/worker_util.py: ########## @@ -60,6 +78,22 @@ def add_path(path: str) -> bool: def read_command(serializer: FramedSerializer, file: IO) -> Any: + """ + Read and deserialize a command from the input file. + + Parameters + ---------- + serializer : FramedSerializer + The serializer to use for reading the command. + file : IO + The input file to read from. Review Comment: Technically it's not a file. I know it's named a `file`, but it's more like a stream. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
