generative-ai-python

google.generativeai.protos.CodeExecutionResult

Result of executing the ExecutableCode.

Only generated when using the CodeExecution, and always follows a part containing the ExecutableCode.

`outcome` `google.ai.generativelanguage.CodeExecutionResult.Outcome` Required. Outcome of the code execution.
`output` `str` Optional. Contains stdout when code execution is successful, stderr or other description otherwise.

Child Classes

class Outcome