Skip to content

Commit 0254336

Browse files
committed
Add default raise not implement to collection JSON Patch.
1 parent 3d49658 commit 0254336

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

stac_fastapi/types/stac_fastapi/types/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ def merge_patch_collection(
291291
"""
292292
...
293293

294-
@abc.abstractmethod
295294
def json_patch_collection(
296295
self,
297296
collection_id: str,
@@ -309,7 +308,7 @@ def json_patch_collection(
309308
Returns:
310309
The patched collection.
311310
"""
312-
...
311+
raise NotImplementedError("JSON Patch not implemented")
313312

314313
@abc.abstractmethod
315314
def delete_collection(

0 commit comments

Comments
 (0)