We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582e156 commit f2ddd31Copy full SHA for f2ddd31
services/api-server/src/simcore_service_api_server/_service_functions.py
@@ -1,3 +1,5 @@
1
+# pylint: disable=no-self-use
2
+
3
from collections.abc import Callable
4
from dataclasses import dataclass
5
@@ -58,12 +60,11 @@ async def get_function_job_links(
58
60
solver_key=function.solver_key,
59
61
version=function.solver_version,
62
)
- elif function.function_class == FunctionClass.PROJECT:
63
+ if function.function_class == FunctionClass.PROJECT:
64
return get_study_job_rest_interface_links(
65
url_for=url_for,
66
study_id=function.project_id,
67
- else:
- raise UnsupportedFunctionClassError(
68
- function_class=function.function_class,
69
- )
+ raise UnsupportedFunctionClassError(
+ function_class=function.function_class,
70
+ )
0 commit comments