From 0211e05e034e62ebce283cfcd68d2713abd33c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mence=20Lesn=C3=A9?= Date: Thu, 25 Jan 2024 17:39:04 +0100 Subject: [PATCH] quality: Code quality --- persistence/cosmos.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/persistence/cosmos.py b/persistence/cosmos.py index bfb7f352..e5970748 100644 --- a/persistence/cosmos.py +++ b/persistence/cosmos.py @@ -74,7 +74,9 @@ async def call_asearch_one(self, phone_number: str) -> Optional[CallModel]: "name": "@date_limit", "value": str( datetime.utcnow() - + timedelta(hours=CONFIG.workflow.conversation_timeout_hour) + + timedelta( + hours=CONFIG.workflow.conversation_timeout_hour + ) ), } ],