fix: remove unnecessary curly braces in wf api doc (#11658)

pull/12097/head
Junyan Qin 1 year ago committed by Joel
parent 36aebac6af
commit 1ebf66718e

@ -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…
Cancel
Save