mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
from temporalio import activity
|
from temporalio import activity, workflow
|
||||||
|
|
||||||
from applications.common.repositories.streamers import StreamerConfigRepository
|
with workflow.unsafe.imports_passed_through():
|
||||||
from applications.schedule_sync.synchronizer import syncronize
|
from applications.common.repositories.streamers import StreamerConfigRepository
|
||||||
|
from applications.schedule_sync.synchronizer import syncronize
|
||||||
|
|
||||||
|
|
||||||
class ScheduleSyncActivity:
|
class ScheduleSyncActivity:
|
||||||
|
|||||||
@@ -3,9 +3,8 @@ from datetime import timedelta
|
|||||||
from temporalio import workflow
|
from temporalio import workflow
|
||||||
from temporalio.client import Schedule, ScheduleActionStartWorkflow, ScheduleSpec, ScheduleIntervalSpec
|
from temporalio.client import Schedule, ScheduleActionStartWorkflow, ScheduleSpec, ScheduleIntervalSpec
|
||||||
|
|
||||||
from applications.common.repositories.streamers import StreamerConfigRepository
|
|
||||||
|
|
||||||
with workflow.unsafe.imports_passed_through():
|
with workflow.unsafe.imports_passed_through():
|
||||||
|
from applications.common.repositories.streamers import StreamerConfigRepository
|
||||||
from applications.schedule_sync.activities import ScheduleSyncActivity
|
from applications.schedule_sync.activities import ScheduleSyncActivity
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user