nteract/papermill

s3 handler decode exception

Open

#820 opened on Aug 6, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (402 forks)batch import
bughelp wanted

Repository metrics

Stars
 (5,381 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

🐛 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

Contributor guide