We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ef32e commit 6387c27Copy full SHA for 6387c27
docs/src/user_guide/factories.md
@@ -36,7 +36,7 @@ class Factory:
36
request: Request,
37
collection=Depends(self.collection_dependency),
38
):
39
- item_list = collection.items(...)
+ item_list = collection.features(...)
40
...
41
42
@self.router.get("/collections/{collectionId}/items/{itemId}")
@@ -45,7 +45,7 @@ class Factory:
45
46
itemId: str = Path(..., description="Item identifier"),
47
48
- item_list = collection.items(item_id=[itemId])
+ item_list = collection.features(ids_filter=[itemId])
49
50
51
0 commit comments