From 324154d27f117d3547002da3a7e37d6e7cd11d07 Mon Sep 17 00:00:00 2001 From: Vytautas Liuolia Date: Sun, 6 Oct 2024 18:33:25 +0200 Subject: [PATCH] docs: show inherited members from base of test result classes --- docs/_newsfragments/2325.newandimproved.rst | 2 +- docs/api/testing.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/_newsfragments/2325.newandimproved.rst b/docs/_newsfragments/2325.newandimproved.rst index f6bb2905a..7515e79e1 100644 --- a/docs/_newsfragments/2325.newandimproved.rst +++ b/docs/_newsfragments/2325.newandimproved.rst @@ -1,4 +1,4 @@ -The :class:`~CORSMiddleware` now properly handles the missing ``Allow`` +The :class:`~falcon.CORSMiddleware` now properly handles the missing ``Allow`` header case, by denying the preflight CORS request. The static file route has been updated to properly support CORS preflight, by allowing ``GET`` requests. diff --git a/docs/api/testing.rst b/docs/api/testing.rst index 67357cb52..abce080a3 100644 --- a/docs/api/testing.rst +++ b/docs/api/testing.rst @@ -18,8 +18,10 @@ Main Interface :members: .. autoclass:: Result :members: + :inherited-members: .. autoclass:: StreamedResult :members: + :inherited-members: .. autoclass:: ResultBodyStream :members: .. autoclass:: ASGIWebSocketSimulator