Skip to content

Commit

Permalink
Use docstring to describe the api path
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Oct 7, 2024
1 parent acb676a commit 4b9e17e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions aim/digifeeds/database/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ def get_items(
),
db: Session = Depends(get_db),
) -> list[schemas.Item]:
"""
Get the digifeeds items.
These items can be filtered by whether or not their metadata is in Zephir or
all of them can be fetched.
"""

db_items = crud.get_items(in_zephir=in_zephir, db=db)
return db_items

Expand Down

0 comments on commit 4b9e17e

Please sign in to comment.