nteract/papermill

s3 handler decode exception

開放

#820 建立於 2025年8月6日

 (0 則留言) (0 個反應) (0 位負責人)Python (402 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (5,381 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

🐛 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

貢獻者指南