docs: update booleans in docs

This commit is contained in:
2024-08-26 23:32:02 +03:00
parent 5163aa4dca
commit c08a292070
39 changed files with 75 additions and 72 deletions

View File

@@ -247,7 +247,7 @@ class BaseView(View, CorsViewMixin):
extract username from request if any
Returns:
str | None: authorized username if any and None otherwise (e.g. if authorization is disabled)
str | None: authorized username if any and ``None`` otherwise (e.g. if authorization is disabled)
"""
try: # try to read from payload
data: dict[str, str] = await self.request.json() # technically it is not, but we only need str here