File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/python/cocalc-api/src/cocalc_api Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ def execute(
334334 history : Optional [list [str ]] = None ,
335335 project_id : Optional [str ] = None ,
336336 path : Optional [str ] = None ,
337- timeout : Optional [int ] = 30 ,
337+ timeout : Optional [int ] = 90 ,
338338 ) -> dict [str , Any ]: # type: ignore[empty-body]
339339 """
340340 Execute code using a Jupyter kernel.
@@ -345,7 +345,7 @@ def execute(
345345 history (Optional[list[str]]): Array of previous inputs (they get evaluated every time, but without output being captured).
346346 project_id (Optional[str]): Project in which to run the code -- if not given, global anonymous project is used, if available.
347347 path (Optional[str]): File path context for execution.
348- timeout (Optional[int]): Timeout in SECONDS for the execute call (defaults to 30 seconds).
348+ timeout (Optional[int]): Timeout in SECONDS for the execute call (defaults to 90 seconds).
349349
350350 Returns:
351351 dict[str, Any]: JSON response containing execution results.
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def jupyter_execute(
131131 kernel : str ,
132132 history : Optional [list [str ]] = None ,
133133 path : Optional [str ] = None ,
134- timeout : Optional [int ] = 30 ,
134+ timeout : Optional [int ] = 90 ,
135135 ) -> list [dict [str , Any ]]: # type: ignore[empty-body]
136136 """
137137 Execute code using a Jupyter kernel.
@@ -141,7 +141,7 @@ def jupyter_execute(
141141 kernel (str): Name of kernel to use. Get options using hub.jupyter.kernels().
142142 history (Optional[list[str]]): Array of previous inputs (they get evaluated every time, but without output being captured).
143143 path (Optional[str]): File path context for execution.
144- timeout (Optional[int]): Timeout in SECONDS for the execute call (defaults to 30 seconds).
144+ timeout (Optional[int]): Timeout in SECONDS for the execute call (defaults to 90 seconds).
145145
146146 Returns:
147147 list[dict[str, Any]]: List of output items. Each output item contains
You can’t perform that action at this time.
0 commit comments