Add pagination to docstring"
All checks were successful
Build and Publish / build_and_publish (push) Successful in 53s

This commit is contained in:
Nexus 2024-07-14 01:39:16 +01:00
parent 5fbd425452
commit ad6a85062f
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -102,7 +102,9 @@ def get_all_truths(
page: int = 0,
db: redis.Redis = Depends(get_db_factory())
):
"""Retrieves all stored truths"""
"""Retrieves all stored truths
If ?limit is a positive integer, pagination will be enabled."""
keys = db.keys()
if rich is False:
return [