apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.32k stars 1.17k forks source link

[Bug] DSS1.0.1 python code comment is not work #2482

Closed thinkliving2020 closed 2 years ago

thinkliving2020 commented 2 years ago

Search before asking

Linkis Component

web

What happened + What you expected to happen

python code comment is not work.

new a python script on scriptis eg:

import sys

print('hello')

run the python script code, happen this error : operation failed(操作失败) the reason(原因):PythonCodeCheckException:errCode:20070, desc:can not use sys module, ip:xa250, port:9104, serviceKind:linkis-cg-entrance

图片

Relevent platform

firefox Browser

Reproduction script

import sys (commented) print('hello')

Anything else

No response

Are you willing to submit a PR?

github-actions[bot] commented 2 years ago

:blush: Welcome to the Apache Linkis (incubating) community!! We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

WeChat Group:

image Mailing Lists: name description Subscribe Unsubscribe archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive
peacewong commented 2 years ago

You can configure wds.linkis.entrance.skip.auth=true to turn off dangerous syntax checking