mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 04:29:07 +08:00
fix: remove unnecessary curly braces in wf api doc (#11658)
This commit is contained in:
parent
22258fb0bf
commit
8ecb9aaa91
@ -238,7 +238,6 @@ Workflow applications offers non-session support and is ideal for translation, a
|
||||
</CodeGroup>
|
||||
<CodeGroup title="File upload sample code">
|
||||
```json {{ title: 'File upload sample code' }}
|
||||
{
|
||||
import requests
|
||||
import json
|
||||
|
||||
@ -314,8 +313,6 @@ Workflow applications offers non-session support and is ideal for translation, a
|
||||
print(result)
|
||||
else:
|
||||
print("File upload failed and workflow cannot be executed")
|
||||
|
||||
}
|
||||
```
|
||||
</CodeGroup>
|
||||
</Col>
|
||||
|
@ -238,7 +238,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||
</CodeGroup>
|
||||
<CodeGroup title="ファイルアップロードのサンプルコード">
|
||||
```json {{ title: 'ファイルアップロードのサンプルコード' }}
|
||||
{
|
||||
import requests
|
||||
import json
|
||||
|
||||
@ -314,8 +313,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||
print(result)
|
||||
else:
|
||||
print("ファイルのアップロードに失敗し、ワークフローを実行できません")
|
||||
|
||||
}
|
||||
```
|
||||
</CodeGroup>
|
||||
</Col>
|
||||
|
@ -232,7 +232,6 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
|
||||
</CodeGroup>
|
||||
<CodeGroup title="File upload sample code">
|
||||
```json {{ title: 'File upload sample code' }}
|
||||
{
|
||||
import requests
|
||||
import json
|
||||
|
||||
@ -308,8 +307,6 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
|
||||
print(result)
|
||||
else:
|
||||
print("文件上传失败,无法执行工作流")
|
||||
|
||||
}
|
||||
```
|
||||
</CodeGroup>
|
||||
</Col>
|
||||
|
Loading…
x
Reference in New Issue
Block a user