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

This commit is contained in:
Junyan Qin 2024-12-15 17:12:26 +08:00 committed by GitHub
parent 22258fb0bf
commit 8ecb9aaa91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 207 additions and 216 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>