Skip to content

Commit

Permalink
remove bulk transactions from app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhealy1 committed Mar 23, 2024
1 parent d55e1ed commit b2cda5e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions stac_fastapi/mongo/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

from stac_fastapi.api.app import StacApi
from stac_fastapi.api.models import create_get_request_model, create_post_request_model
from stac_fastapi.core.core import (
BulkTransactionsClient,
from stac_fastapi.core.core import ( # BulkTransactionsClient,
CoreClient,
EsAsyncBaseFiltersClient,
TransactionsClient,
Expand All @@ -18,7 +17,8 @@
TokenPaginationExtension,
TransactionExtension,
)
from stac_fastapi.extensions.third_party import BulkTransactionExtension

# from stac_fastapi.extensions.third_party import BulkTransactionExtension
from stac_fastapi.mongo.config import AsyncMongoDBSettings
from stac_fastapi.mongo.database_logic import (
DatabaseLogic,
Expand All @@ -43,13 +43,13 @@
),
settings=settings,
),
BulkTransactionExtension(
client=BulkTransactionsClient(
database=database_logic,
session=session,
settings=settings,
)
),
# BulkTransactionExtension(
# client=BulkTransactionsClient(
# database=database_logic,
# session=session,
# settings=settings,
# )
# ),
FieldsExtension(),
QueryExtension(),
SortExtension(),
Expand Down

0 comments on commit b2cda5e

Please sign in to comment.