Skip to content

Commit 429cd4b

Browse files
committed
fix tests
1 parent 31d1db3 commit 429cd4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/container.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ def on_create_transaction_context(**kwargs):
7979
return TransactionContext(dependency_provider)
8080

8181
@application.on_enter_transaction_context
82-
async def on_enter_transaction_context(ctx: TransactionContext):
82+
def on_enter_transaction_context(ctx: TransactionContext):
8383
ctx.set_dependencies(publish=ctx.publish)
8484
logger.debug("Entering transaction")
8585

8686
@application.on_exit_transaction_context
87-
async def on_exit_transaction_context(
87+
def on_exit_transaction_context(
8888
ctx: TransactionContext, exception: Optional[Exception] = None
8989
):
9090
session = ctx["db_session"]

0 commit comments

Comments
 (0)