improved code of postgress and execution

This commit is contained in:
Yannick Stephan
2025-02-19 13:31:30 +01:00
parent c285191971
commit 05147f4799
4 changed files with 88 additions and 90 deletions

View File

@@ -178,11 +178,11 @@ class OracleDB:
class ClientManager:
_instances = {"db": None, "ref_count": 0}
_instances: dict[str, Any] = {"db": None, "ref_count": 0}
_lock = asyncio.Lock()
@staticmethod
def get_config():
def get_config() -> dict[str, Any]:
config = configparser.ConfigParser()
config.read("config.ini", "utf-8")