From 735053a92f62ffb9af804359e816f2cd4f76fc98 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Fri, 18 Oct 2024 13:50:55 +0300 Subject: [PATCH] docs: fix API reference for `asgi_types` scopes --- docs/reference/types.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/reference/types.rst b/docs/reference/types.rst index 52767a5d01..2cd000f640 100644 --- a/docs/reference/types.rst +++ b/docs/reference/types.rst @@ -1,7 +1,7 @@ types ===== -.. py:currentmodule:: litestar.types +.. module:: litestar.types @@ -58,15 +58,15 @@ ASGI Application Parameters ASGI Scopes ~~~~~~~~~~~~ -.. autodata:: litestar.types.ASGIVersion +.. autoclass:: litestar.types.ASGIVersion -.. autodata:: litestar.types.BaseScope +.. autoclass:: litestar.types.BaseScope -.. autodata:: litestar.types.HTTPScope +.. autoclass:: litestar.types.HTTPScope -.. autodata:: litestar.types.LifeSpanScope +.. autoclass:: litestar.types.LifeSpanScope -.. autodata:: litestar.types.WebSocketScope +.. autoclass:: litestar.types.WebSocketScope ASGI Events