Skip to content

[BUG] AugAssign is not supported in PythonInterpreter #418

@lightaime

Description

@lightaime

Required prerequisites

What version of camel are you using?

0.1.1

System information

3.10.11 (main, May 15 2023, 19:29:30) [Clang 14.0.6 ] darwin
0.1.1

Problem description

1 code_prompt = CodePrompt("a = 1 + 1\na += 1", code_type="python")
----> 2 output, state = code_prompt.execute()


InterpreterError: Evaluation of the code stopped at node 1. See:
AugAssign is not supported.

Reproducible example code

The Python snippets:

Command lines:

Extra dependencies:


Steps to reproduce:

Traceback

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions