Skip to content

Commit 2586ec8

Browse files
author
Andrei Neagu
committed
removed unused
1 parent 493488c commit 2586ec8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/services/director_v2/_public_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,4 @@ async def update_projects_networks(self, *, project_id: ProjectID) -> None:
145145

146146
def setup_director_v2(app: FastAPI) -> None:
147147
public_client = DirectorV2Client(app)
148-
public_client.thin_client.attach_lifespan_to(app)
149148
public_client.set_to_app_state(app)

services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/services/director_v2/_thin_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
X_DYNAMIC_SIDECAR_REQUEST_SCHEME,
2020
X_SIMCORE_USER_AGENT,
2121
)
22-
from servicelib.fastapi.http_client import AttachLifespanMixin
2322
from servicelib.fastapi.http_client_thin import (
2423
BaseThinClient,
2524
expect_status,
@@ -32,7 +31,7 @@
3231
from ...core.settings import ApplicationSettings
3332

3433

35-
class DirectorV2ThinClient(BaseThinClient, AttachLifespanMixin):
34+
class DirectorV2ThinClient(BaseThinClient):
3635
def __init__(self, app: FastAPI) -> None:
3736
settings: ApplicationSettings = app.state.settings
3837
super().__init__(

0 commit comments

Comments
 (0)