Skip to content

Commit 435cb30

Browse files
committed
pre-commit
1 parent 4149947 commit 435cb30

File tree

1 file changed

+4
-2
lines changed
  • stac_fastapi/elasticsearch/stac_fastapi/elasticsearch

1 file changed

+4
-2
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/core.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ async def create_item(
403403
404404
Raises:
405405
NotFound: If the specified collection is not found in the database.
406-
ConflictError: If the item in the specified collection already exists.
406+
ConflictError: If the item in the specified collection already exists.
407407
408408
"""
409409
base_url = str(kwargs["request"].base_url)
@@ -426,7 +426,9 @@ async def create_item(
426426
return item
427427

428428
@overrides
429-
async def update_item(self, collection_id: str, item_id: str, item: stac_types.Item, **kwargs) -> stac_types.Item:
429+
async def update_item(
430+
self, collection_id: str, item_id: str, item: stac_types.Item, **kwargs
431+
) -> stac_types.Item:
430432
"""Update an item in the collection.
431433
432434
Args:

0 commit comments

Comments
 (0)