ACADynamicSessionsCodeExecutor: allow suppressing the code execution result #6042
stuartleeks
started this conversation in
Feature suggestions
Replies: 1 comment
-
Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using the
ACADynamicSessionsCodeExecutor
it includes the stdout from the execution but also theresults
property from the call to dynamic sessions. When the executed code results in a file being saved this is included in the result:In some situations, this additional output is not desirable:
To handle these cases, I'm proposing adding a new (optional) argument to the
ACADynamicSessionsCodeExecutor
constructor that would allow suppressing the result content (but default to False to preserve the current behaviour in the default case)Beta Was this translation helpful? Give feedback.
All reactions