Documentation
See #121515, which reported that set_content() implicitly adds a newline to the end of the content (if it doesn't have one already), whereas set_payload() ignores it. Unfortunately, this would be a breaking change to fix, so we should just document this behavior.
Linked PRs
Documentation
See #121515, which reported that
set_content()implicitly adds a newline to the end of the content (if it doesn't have one already), whereasset_payload()ignores it. Unfortunately, this would be a breaking change to fix, so we should just document this behavior.Linked PRs
set_content()#121543set_content()(GH-121543) #128995set_content()(GH-121543) #128996