From b2cda5ef51814686fd60c9cee102afe80c4d092e Mon Sep 17 00:00:00 2001 From: jonhealy1 Date: Sun, 24 Mar 2024 00:36:41 +0800 Subject: [PATCH] remove bulk transactions from app.py --- stac_fastapi/mongo/app.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/stac_fastapi/mongo/app.py b/stac_fastapi/mongo/app.py index 5982398..e2be8f4 100644 --- a/stac_fastapi/mongo/app.py +++ b/stac_fastapi/mongo/app.py @@ -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, @@ -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, @@ -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(),