Skip to content

Commit 1f328bd

Browse files
author
Andrei Neagu
committed
removed unused
1 parent 200cc11 commit 1f328bd

File tree

1 file changed

+1
-9
lines changed
  • services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/services/generic_scheduler

1 file changed

+1
-9
lines changed

services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/services/generic_scheduler/_core.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ def __init__(
150150
self.unknown_status_wait_before_retry = unknown_status_wait_before_retry
151151
self._store: Store = get_store(app)
152152

153-
async def setup(self) -> None:
154-
pass
155-
156-
async def shutdown(self) -> None:
157-
pass
158-
159153
async def create(
160154
self, operation_name: OperationName, initial_operation_context: OperationContext
161155
) -> ScheduleId:
@@ -613,10 +607,8 @@ async def _set_unexpected_opration_state(
613607

614608

615609
async def lifespan(app: FastAPI) -> AsyncIterator[State]:
616-
app.state.generic_scheduler_core = core = Core(app)
617-
await core.setup()
610+
app.state.generic_scheduler_core = Core(app)
618611
yield {}
619-
await core.shutdown()
620612

621613

622614
def get_core(app: FastAPI) -> Core:

0 commit comments

Comments
 (0)