DataSphereStudio
DataSphereStudio copied to clipboard
[Bug] 上传资源后报找不到文件
Search before asking
- [X] I searched the issues and found no similar issues.
DSS Component
dss-framework, dss-web/dss-workflow
What happened + What you expected to happen
工作流界面上传资源后,按照能找到的0.8版本的文档,引用的时候报找不到文件
支持工程级别、工作流级别、节点级别资源文件使用,您只需要在脚本中指定对应的级别就好:比如有一个test.txt 在脚本python脚本打开一个文件: open("project://test.txt", encoding="utf-8") #工程级资源文件使用project://开头 open("flow://test.txt", encoding="utf-8") #工作流级资源文件使用flow://开头 open("node://test.txt", encoding="utf-8") #节点级资源文件使用node://开头
Relevent platform
dss1.0.1
Reproduction script
f = open('flow://ff.csv', 'r') list = f.readlines() print list
Anything else
求一个最新的用户文档
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
请问有找到解决方案吗