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(): """