File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
services/agent/src/simcore_service_agent Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,4 @@ def setup_rest_api(app: FastAPI):
1111 app .include_router (_health .router )
1212
1313 app .add_exception_handler (Exception , handle_errors_as_500 )
14- app .add_exception_handler (
15- HTTPException , http_exception_as_json_response # type: ignore[arg-type]
16- )
14+ app .add_exception_handler (HTTPException , http_exception_as_json_response )
Original file line number Diff line number Diff line change 11from pathlib import Path
22from typing import Final
33
4- from common_library .pydantic_validators import convert_str_to_run_id_object
54from models_library .api_schemas_directorv2 .services import (
65 CHARS_IN_VOLUME_NAME_BEFORE_DIR_NAME ,
76)
@@ -24,8 +23,6 @@ class DynamicServiceVolumeLabels(BaseModel):
2423 def directory_name (self ) -> str :
2524 return self .source [CHARS_IN_VOLUME_NAME_BEFORE_DIR_NAME :][::- 1 ].strip ("_" )
2625
27- _convert_str_to_run_id_object = convert_str_to_run_id_object ("run_id" )
28-
2926 model_config = ConfigDict (
3027 arbitrary_types_allowed = True ,
3128 )
You can’t perform that action at this time.
0 commit comments