# Launch features as events import asyncio import logging logger = logging.getLogger(__name__) # Import the syncDelta module to initialize it (this will register the scheduler) from modules.features.syncDelta import mainSyncDelta # Run initial sync asyncio.create_task(mainSyncDelta.scheduled_sync())