Skip to content

Commit f80853a

Browse files
committed
small fix
1 parent 7afde22 commit f80853a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

services/api-server/src/simcore_service_api_server/exceptions/service_errors_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ def service_exception_mapper(
165165
[Callable[Concatenate[Self, P], Coroutine[Any, Any, R]]],
166166
Callable[Concatenate[Self, P], Coroutine[Any, Any, R]],
167167
]:
168-
assert len(http_status_map.keys()) > 0 or len(rpc_exception_map.keys()) > 0
169-
170168
def _decorator(member_func: Callable[Concatenate[Self, P], Coroutine[Any, Any, R]]):
171169
_assert_correct_kwargs(
172170
func=member_func,

0 commit comments

Comments
 (0)