From 6387c27afa91f992b0fce97d6cb579320cf4119d Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Tue, 31 Oct 2023 11:52:12 +0100 Subject: [PATCH] update docs --- docs/src/user_guide/factories.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/user_guide/factories.md b/docs/src/user_guide/factories.md index 14d3c012..95722f43 100644 --- a/docs/src/user_guide/factories.md +++ b/docs/src/user_guide/factories.md @@ -36,7 +36,7 @@ class Factory: request: Request, collection=Depends(self.collection_dependency), ): - item_list = collection.items(...) + item_list = collection.features(...) ... @self.router.get("/collections/{collectionId}/items/{itemId}") @@ -45,7 +45,7 @@ class Factory: collection=Depends(self.collection_dependency), itemId: str = Path(..., description="Item identifier"), ): - item_list = collection.items(item_id=[itemId]) + item_list = collection.features(ids_filter=[itemId]) ...