Skip to content

Commit 117b15e

Browse files
author
Edward Keeble
committed
Fixed formatting issues flagged by pre-commit
1 parent fc7886e commit 117b15e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

stac_fastapi/pgstac/transactions.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from fastapi import HTTPException, Request
1010
from stac_fastapi.extensions.third_party.bulk_transactions import (
1111
AsyncBaseBulkTransactionsClient,
12-
Items,
1312
BulkTransactionMethod,
13+
Items,
1414
)
1515
from stac_fastapi.types import stac as stac_types
1616
from stac_fastapi.types.core import AsyncBaseTransactionsClient
@@ -179,9 +179,7 @@ async def delete_collection(
179179
class BulkTransactionsClient(AsyncBaseBulkTransactionsClient):
180180
"""Postgres bulk transactions."""
181181

182-
async def bulk_item_insert(
183-
self, items: Items, request: Request, **kwargs
184-
) -> str:
182+
async def bulk_item_insert(self, items: Items, request: Request, **kwargs) -> str:
185183
"""Bulk item insertion using pgstac."""
186184
items_to_insert = list(items.items.values())
187185

0 commit comments

Comments
 (0)