Add pagination to docstring"
All checks were successful
Build and Publish / build_and_publish (push) Successful in 53s
All checks were successful
Build and Publish / build_and_publish (push) Successful in 53s
This commit is contained in:
parent
5fbd425452
commit
ad6a85062f
1 changed files with 3 additions and 1 deletions
|
@ -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 [
|
||||
|
|
Loading…
Reference in a new issue