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