Tags: lambda-feedback/toolkit-python
Tags
Bug/ipc (#6) * Started on image upload support * Switched to put * Fixed issue with request not sending file name and updated tests * Switched to auto parsing of mime_type * Implemented auth for uploading to S3 * Added session token * Added passing of folder name * Added test suite for stream_io * Added test suite for stream_io * Changed how Stdio closes * Changed exception to break instead of printing * Added debub statements * Added debug statements * Moved Stdioclient instationtion to run * Improved `PrefixStreamIO.read()` to handle partial chunk reads and added tests for large payloads and partial chunks. * Updated `AWSRequest` to use `data` instead of `buffer` in image upload logic * Refactored `jsonrpc_handler` to use `Command` type and updated parameter handling * Updated `StdioServer` to use binary streams for stdin/stdout and added subprocess-based test for framed JSON-RPC communication * Fixed `StdioServer.write` to flush stdout buffer in a separate thread using `anyio.to_thread.run_sync`. * Refactored `StdioServer` and `StdioClient` to pass and use captured `stdout` buffer, ensuring isolated binary protocol handling on `stdout`. * Renamed `file_server.py` to `file_server_test.py` for clarity and consistency in test file naming. * Removed explicit `stdout_buffer` handling in `StdioServer` and `StdioClient`, directly using `sys.stdout.buffer` for simplicity and consistency.