diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-07 16:10:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 16:10:05 +0800 |
| commit | e1d895cc9abb0f7ffac8acc043746cbe2e5f4fe1 (patch) | |
| tree | 39e0faa590db7b2b4fdc1e6458a77566252acbd1 /tools/may_execute_py_code.py | |
| parent | 739a832d87c00e3b5977a24bba5654fa5ea7a702 (diff) | |
| download | llm-functions-docker-e1d895cc9abb0f7ffac8acc043746cbe2e5f4fe1.tar.gz | |
refactor: py/js entry func name (#31)
Diffstat (limited to 'tools/may_execute_py_code.py')
| -rw-r--r-- | tools/may_execute_py_code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/may_execute_py_code.py b/tools/may_execute_py_code.py index 8e55a8d..5f6af2f 100644 --- a/tools/may_execute_py_code.py +++ b/tools/may_execute_py_code.py @@ -1,4 +1,4 @@ -def main(code: str): +def run(code: str): """Runs the python code. Args: code: Python code to execute, such as `print("hello world")` |
