We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PythonCodingTool
1 parent c66c5ae commit 29979a5Copy full SHA for 29979a5
1 file changed
src/eaa/tool/coding.py
@@ -182,7 +182,7 @@ def execute_code(
182
if not isinstance(code, str):
183
raise TypeError("code must be a string containing Python source")
184
prepared_code = self._prepare_source_code(code)
185
- exec_timeout = timeout if timeout is not None else self._default_timeout
+ exec_timeout = float(timeout) if timeout is not None else self._default_timeout
186
exec_cwd = cwd or self._working_directory
187
env = os.environ.copy()
188
env.update(self._environment)
0 commit comments