Skip to content

Commit

Permalink
Add method param to AsyncBaseBulkTransactionsClient, which pgstac inh…
Browse files Browse the repository at this point in the history
…erits from
  • Loading branch information
Edward Keeble committed Oct 23, 2023
1 parent b28b9a7 commit 2471233
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ class AsyncBaseBulkTransactionsClient(abc.ABC):
"""BulkTransactionsClient."""

@abc.abstractmethod
async def bulk_item_insert(self, items: Items, **kwargs) -> str:
async def bulk_item_insert(
self,
items: Items,
method: BulkTransactionMethod = BulkTransactionMethod.INSERT,
**kwargs,
) -> str:
"""Bulk creation of items.
Args:
Expand Down

0 comments on commit 2471233

Please sign in to comment.