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 39d3a89 commit 4149947Copy full SHA for 4149947
stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/core.py
@@ -524,7 +524,21 @@ async def update_collection(
524
async def delete_collection(
525
self, collection_id: str, **kwargs
526
) -> stac_types.Collection:
527
- """Delete collection."""
+ """
528
+ Delete a collection.
529
+
530
+ This method deletes an existing collection in the database.
531
532
+ Args:
533
+ collection_id (str): The identifier of the collection that contains the item.
534
+ kwargs: Additional keyword arguments.
535
536
+ Returns:
537
+ None.
538
539
+ Raises:
540
+ NotFoundError: If the collection doesn't exist.
541
542
await self.database.delete_collection(collection_id=collection_id)
543
return None # type: ignore
544
0 commit comments