File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
services/api-server/src/simcore_service_api_server Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,11 @@ async def validate_function_inputs(
102102
103103 if function .input_schema .schema_class == FunctionSchemaClass .json_schema :
104104 try :
105- all (
105+ for input in job_inputs :
106106 jsonschema .validate (
107107 instance = input .values ,
108108 schema = function .input_schema .schema_content ,
109109 )
110- for input in job_inputs
111- )
112110 except ValidationError as err :
113111 return False , str (err )
114112 return True , "Inputs are valid"
@@ -147,6 +145,7 @@ async def pre_register_function_job(
147145 if not is_valid :
148146 raise FunctionInputsValidationError (error = validation_str )
149147
148+ function_jobs : list [ProjectFunctionJob | SolverFunctionJob ]
150149 if function .function_class == FunctionClass .PROJECT :
151150 function_jobs = [
152151 ProjectFunctionJob (
You can’t perform that action at this time.
0 commit comments