Skip to content

Commit 46f4edf

Browse files
committed
PartialCollection not PartialItem.
1 parent 41aba4d commit 46f4edf

File tree

1 file changed

+2
-2
lines changed
  • stac_fastapi/types/stac_fastapi/types

1 file changed

+2
-2
lines changed

stac_fastapi/types/stac_fastapi/types/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def update_collection(
159159
def patch_collection(
160160
self,
161161
collection_id: str,
162-
patch: Union[stac.PartialItem, List[stac.PatchOperation]],
162+
patch: Union[stac.PartialCollection, List[stac.PatchOperation]],
163163
**kwargs,
164164
) -> Optional[Union[stac.Collection, Response]]:
165165
"""Update a collection.
@@ -314,7 +314,7 @@ async def update_collection(
314314
async def patch_collection(
315315
self,
316316
collection_id: str,
317-
patch: Union[stac.PartialItem, List[stac.PatchOperation]],
317+
patch: Union[stac.PartialCollection, List[stac.PatchOperation]],
318318
**kwargs,
319319
) -> Optional[Union[stac.Collection, Response]]:
320320
"""Update a collection.

0 commit comments

Comments
 (0)