Abhay-raj-srivastava opened a new pull request, #36953:
URL: https://github.com/apache/beam/pull/36953

   ### 🎯 Summary
   
   This PR cleans up `textio.py` to improve readability, maintainability, and 
consistency with the rest of the Beam codebase.
   
   ### ✨ Changes Included
   - Removed duplicated sections of `ReadBuffer` and related logic.
   - Cleaned up formatting, indentation, and spacing.
   - Organized imports and removed unused ones.
   - Applied consistent type hints.
   - Reduced unnecessary code paths and comments.
   - Improved overall code structure without altering any functionality.
   
   ### 🛠 Functional Behavior
   This PR introduces **no functional changes**.  
   All behavior remains identical — only cleanup and formatting were performed.
   
   ### 📌 Motivation
   While exploring Beam's IO code, I noticed redundant sections and 
inconsistent formatting in `textio.py`.  
   This cleanup makes future contributions easier and reduces the complexity of 
the file.
   
   ### ✔ Tests
   No logic was changed, so existing tests should continue to pass.
   
   ---
   
   Please review and let me know if any adjustments are needed!
   


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