]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
✨ Allow `None` as return type for bodiless responses (#9425)
authorRobert Hofer <1058012+hofrob@users.noreply.github.com>
Sat, 20 Sep 2025 18:44:43 +0000 (20:44 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Sep 2025 18:44:43 +0000 (18:44 +0000)
commitb51ec36f2e442495de5e4c22ae51a8f5c44917eb
treec89f6ed7475587b4cfe409d718c0462a1c4d3a61
parent0bdc3ca3732e3742e094bea2b320e9774659ac38
✨  Allow `None` as return type for bodiless responses (#9425)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
fastapi/dependencies/utils.py
tests/test_return_none_stringified_annotations.py [new file with mode: 0644]