From f7db9f817c7e809795825085f00f82039fd6ca1a Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Tue, 21 May 2024 12:38:37 +0330 Subject: [PATCH] fix: lint mypy issues! --- tc_messageBroker/rabbit_mq/saga/saga_base.py | 2 +- tc_messageBroker/utils/credentials.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tc_messageBroker/rabbit_mq/saga/saga_base.py b/tc_messageBroker/rabbit_mq/saga/saga_base.py index cce0847..af73c3e 100644 --- a/tc_messageBroker/rabbit_mq/saga/saga_base.py +++ b/tc_messageBroker/rabbit_mq/saga/saga_base.py @@ -57,7 +57,7 @@ def next( self, publish_method: Callable, call_function: Callable, - mongo_creds: dict[str, Any] = None, + mongo_creds: dict[str, Any] | None = None, **kwargs, ): """ diff --git a/tc_messageBroker/utils/credentials.py b/tc_messageBroker/utils/credentials.py index 4615607..bda1105 100644 --- a/tc_messageBroker/utils/credentials.py +++ b/tc_messageBroker/utils/credentials.py @@ -1,6 +1,7 @@ -from dotenv import load_dotenv import os +from dotenv import load_dotenv + def load_mongo_credentials(): """