nteract/papermill

s3 handler decode exception

Open

#820 创建于 2025年8月6日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (5,381 star) (402 fork)batch import
bughelp wanted

描述

🐛 Bug

https://github.com/nteract/papermill/blob/53847310586b74fdb2763fe333ab99babee367ed/papermill/s3.py#L320C21-L320C73

This bug happens because undecoded is a bytes object, but s.decode(encoding) returns a str. this wll causes a TypeError

贡献者指南