Closed owentuu closed 8 months ago
dss-web/dss-workflow
用户手册0.8.0: 支持工程级别、工作流级别、节点级别资源文件使用,您只需要在脚本中指定对应的级别就好:比如有一个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://开头 找不到文件。
dss1.1.2
open("flow://test.txt", encoding="utf-8")
every time
Search before asking
DSS Component
dss-web/dss-workflow
What happened + What you expected to happen
用户手册0.8.0: 支持工程级别、工作流级别、节点级别资源文件使用,您只需要在脚本中指定对应的级别就好:比如有一个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.1.2
Reproduction script
open("flow://test.txt", encoding="utf-8")
Anything else
every time
Are you willing to submit a PR?