Skip to content

Commit

Permalink
0.1.2 - fix a typo
Browse files Browse the repository at this point in the history
Fix: Correct another typo caused by a wrong symbol.
  • Loading branch information
cainmagi committed Oct 30, 2024
1 parent 540fb1a commit 0bdd877
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
2. Fix: Fix a typo causing the broken anchor issue.
3. Fix: Make the action step of `yarn install` synchronized with the newest API.
4. Fix: `zh-cn` document cannot handle the line break correctly. Remove the unexpected line breaks.
5. Fix: Correct another typo caused by a wrong symbol.

### 0.1.2 @ 10/28/2024

Expand Down
2 changes: 1 addition & 1 deletion docs/apis/services/data/ServiceData.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Register the a new file (a path or a file-like object) to the cache.
| `content_type` | `str` | | The content-type in the response. An optional encoding can be provided here. If this value is not specified, will use `mime_type` to fill this value. |
| `mime_type` | `str` | | The mime-type of the response. Typically, it is only determined by the type of the file. |
| `one_time_service` | `bool` | | <p>A flag. When it is enabled, will use the on-exit mechanism to remove this cached data once it is served for once.</p><p>This option is recommended if this cached item is used for one-time downloading.</p> |
| `download` | `bool` | | If specified, will mark the returned address as a downloadable link.` |
| `download` | `bool` | | If specified, will mark the returned address as a downloadable link. |

#### Returns

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ addr: str = service.register(
| `content_type` | `str` | | 响应的内容类型。可以在这里指定可选的编码。若未指定,使用`mime_type`填充该值。 |
| `mime_type` | `str` | | 响应的媒体类型。一般地,它只由数据的文件类型决定。 |
| `one_time_service` | `bool` | | <p>二值量。启用时,会透过退出机制、在数据下一次推送完毕后移出该缓存数据。</p><p>当数据仅用来完成一次下载时,建议启用该值。</p> |
| `download` | `bool` | | 二值量。启用时,会将返回的链接标记为专用于下载。` |
| `download` | `bool` | | 二值量。启用时,会将返回的链接标记为专用于下载。 |

#### 输出 {#returns}

Expand Down

0 comments on commit 0bdd877

Please sign in to comment.