File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
grader_service/autograding Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ def _start_pod(self) -> GraderPod:
350350 "-p" ,
351351 "*.ipynb" ,
352352 "--log-level=INFO" ,
353- f"--ExecutePreprocessor.timeout={ self .timeout_func (self . assignment . lecture )} " ,
353+ f"--ExecutePreprocessor.timeout={ self .timeout_func ()} " ,
354354 ]
355355 volumes = [self .volume ] + self .extra_volumes
356356 volume_mounts = [
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ def _put_grades_in_assignment_properties(self) -> str:
225225 def _get_autograde_config (self ) -> Config :
226226 """Returns the autograde config, with the timeout set for ExecutePreprocessor."""
227227 c = Config ()
228- c .ExecutePreprocessor .timeout = self .timeout_func (self . assignment . lecture )
228+ c .ExecutePreprocessor .timeout = self .timeout_func ()
229229 return c
230230
231231 def _get_whitelist_patterns (self ) -> set [str ]:
@@ -386,7 +386,7 @@ def _run(self):
386386 self .output_path ,
387387 "-p" ,
388388 "*.ipynb" ,
389- f"--ExecutePreprocessor.timeout={ self .timeout_func (self . assignment . lecture )} " ,
389+ f"--ExecutePreprocessor.timeout={ self .timeout_func ()} " ,
390390 ]
391391 self .log .info (f"Running { command } " )
392392 process = subprocess .run (
You can’t perform that action at this time.
0 commit comments