From 6ba37faf49a0369016bcae71161c372f4c5f0fb5 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Tue, 24 Jun 2025 17:59:28 +0300 Subject: [PATCH] refactor: reorganize imports and add whitespace --- app/library/Events.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/library/Events.py b/app/library/Events.py index ce6e6e8c..4025c156 100644 --- a/app/library/Events.py +++ b/app/library/Events.py @@ -1,10 +1,10 @@ import asyncio import datetime import logging -from typing import Any import uuid from collections.abc import Awaitable from dataclasses import dataclass, field +from typing import Any from .Singleton import Singleton @@ -371,6 +371,7 @@ class EventBus(metaclass=Singleton): the exception is caught and logged. If event does not exist, an empty list is returned. If wait is False, a list of asyncio.Task objects is returned instead if we are in a running event loop, or the result of the coroutine if we are not in a running event loop. + """ if event not in self._listeners: return []