From 997cae688550dc204133c6722a54b058a36a06b6 Mon Sep 17 00:00:00 2001 From: Shalev Avhar Date: Wed, 14 Aug 2024 16:59:27 +0300 Subject: [PATCH] fix: lint issue --- port_ocean/core/event_listener/polling.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/port_ocean/core/event_listener/polling.py b/port_ocean/core/event_listener/polling.py index 46a05caa0e..d05886cbf1 100644 --- a/port_ocean/core/event_listener/polling.py +++ b/port_ocean/core/event_listener/polling.py @@ -79,9 +79,7 @@ async def resync() -> None: if self.should_resync(last_updated_at): logger.info("Detected change in integration, resyncing") ocean.app.last_integration_updated_at = last_updated_at - running_task: Task[Any] = get_event_loop().create_task( - self._resync({}) # type: ignore - ) + running_task: Task[Any] = get_event_loop().create_task(self._resync({})) signal_handler.register(running_task.cancel) await running_task