website/docs: update redirect docs

closes #4248

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2023-01-05 12:38:38 +01:00
parent 78b711ec9d
commit ed3f36e72a
2 changed files with 10 additions and 3 deletions

View File

@ -18,7 +18,7 @@ Example:
user_email_local = regex_replace(request.user.email, '(.+)@.+', '')
```
### `list_flatten(value: list[Any] | Any) -> Optional[Any}`
### `list_flatten(value: list[Any] | Any) -> Optional[Any]`
Flatten a list by either returning its first element, None if the list is empty, or the passed in object if its not a list.