Skip to content

Commit

Permalink
Fixed formatting issues flagged by pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Keeble committed Oct 24, 2023
1 parent fc7886e commit 117b15e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions stac_fastapi/pgstac/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from fastapi import HTTPException, Request
from stac_fastapi.extensions.third_party.bulk_transactions import (
AsyncBaseBulkTransactionsClient,
Items,
BulkTransactionMethod,
Items,
)
from stac_fastapi.types import stac as stac_types
from stac_fastapi.types.core import AsyncBaseTransactionsClient
Expand Down Expand Up @@ -179,9 +179,7 @@ async def delete_collection(
class BulkTransactionsClient(AsyncBaseBulkTransactionsClient):
"""Postgres bulk transactions."""

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

Expand Down

0 comments on commit 117b15e

Please sign in to comment.