Fixed typing in client
This commit is contained in:
parent
b960b4365b
commit
e2895a287c
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ be one of:
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
import asyncio
|
import asyncio
|
||||||
import datetime
|
import datetime
|
||||||
|
from logging import LogRecord
|
||||||
from logging.handlers import QueueHandler
|
from logging.handlers import QueueHandler
|
||||||
from multiprocessing import Queue
|
from multiprocessing import Queue
|
||||||
import secrets
|
import secrets
|
||||||
|
@ -456,7 +457,7 @@ async def start_client(config: dict[str, Any]) -> None:
|
||||||
|
|
||||||
|
|
||||||
def create_async_and_start_client(
|
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:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
Create an asyncio event loop and start the client.
|
Create an asyncio event loop and start the client.
|
||||||
|
|
Loading…
Add table
Reference in a new issue