Skip to content

Commit b69b45b

Browse files
committed
cleanup imports
1 parent 5d88be9 commit b69b45b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

services/api-server/src/simcore_service_api_server/api/routes/solvers_jobs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
from models_library.projects import ProjectID
1313
from models_library.projects_nodes_io import NodeID
1414
from pydantic.types import PositiveInt
15-
from simcore_service_api_server.api.dependencies.webserver_rpc import (
16-
get_wb_api_rpc_client,
17-
)
18-
from simcore_service_api_server.services_rpc.wb_api_server import WbApiRpcClient
1915

2016
from ...exceptions.backend_errors import ProjectAlreadyStartedError
2117
from ...exceptions.service_errors_utils import DEFAULT_BACKEND_SERVICE_STATUS_CODES
@@ -38,10 +34,14 @@
3834
create_jobstatus_from_task,
3935
create_new_project_for_job,
4036
)
37+
from ...services_rpc.wb_api_server import WbApiRpcClient
4138
from ..dependencies.application import get_reverse_url_mapper
4239
from ..dependencies.authentication import get_current_user_id, get_product_name
4340
from ..dependencies.services import get_api_client
4441
from ..dependencies.webserver_http import AuthSession, get_webserver_session
42+
from ..dependencies.webserver_rpc import (
43+
get_wb_api_rpc_client,
44+
)
4545
from ._constants import (
4646
FMSG_CHANGELOG_ADDED_IN_VERSION,
4747
FMSG_CHANGELOG_CHANGED_IN_VERSION,

services/api-server/src/simcore_service_api_server/api/routes/studies_jobs.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,7 @@
1515
from models_library.projects_nodes_io import NodeID
1616
from pydantic import PositiveInt
1717
from servicelib.logging_utils import log_context
18-
from simcore_service_api_server.api.dependencies.webserver_rpc import (
19-
get_wb_api_rpc_client,
20-
)
21-
from simcore_service_api_server.services_rpc.wb_api_server import WbApiRpcClient
2218

23-
from ...api.dependencies.authentication import get_current_user_id
24-
from ...api.dependencies.services import get_api_client
2519
from ...exceptions.backend_errors import ProjectAlreadyStartedError
2620
from ...models.pagination import Page, PaginationParams
2721
from ...models.schemas.errors import ErrorGet
@@ -50,8 +44,14 @@
5044
get_project_and_file_inputs_from_job_inputs,
5145
)
5246
from ...services_http.webserver import AuthSession
47+
from ...services_rpc.wb_api_server import WbApiRpcClient
5348
from ..dependencies.application import get_reverse_url_mapper
49+
from ..dependencies.authentication import get_current_user_id
50+
from ..dependencies.services import get_api_client
5451
from ..dependencies.webserver_http import get_webserver_session
52+
from ..dependencies.webserver_rpc import (
53+
get_wb_api_rpc_client,
54+
)
5555
from ._common import API_SERVER_DEV_FEATURES_ENABLED
5656
from ._constants import FMSG_CHANGELOG_CHANGED_IN_VERSION, FMSG_CHANGELOG_NEW_IN_VERSION
5757
from .solvers_jobs import JOBS_STATUS_CODES

0 commit comments

Comments
 (0)