From e2895a287ce4ea3887bd00587d0722674b6b9226 Mon Sep 17 00:00:00 2001
From: Christoph Stahl <christoph.stahl@tu-dortmund.de>
Date: Mon, 30 Sep 2024 15:54:32 +0200
Subject: [PATCH] Fixed typing in client

---
 syng/client.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/syng/client.py b/syng/client.py
index d2c274f..fe89cd4 100644
--- a/syng/client.py
+++ b/syng/client.py
@@ -15,6 +15,7 @@ be one of:
 from __future__ import annotations
 import asyncio
 import datetime
+from logging import LogRecord
 from logging.handlers import QueueHandler
 from multiprocessing import Queue
 import secrets
@@ -456,7 +457,7 @@ async def start_client(config: dict[str, Any]) -> None:
 
 
 def create_async_and_start_client(
-    config: dict[str, Any], queue: Optional[Queue[logging.LogRecord]] = None
+    config: dict[str, Any], queue: Optional[Queue[LogRecord]] = None
 ) -> None:
     """
     Create an asyncio event loop and start the client.