Skip to content

Commit b4b95b6

Browse files
committed
docs: Add readme and changelog for extra body param
1 parent 69dbd72 commit b4b95b6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
* Added feature to add arbitrary body parameters in `translate_text`
810
### Deprecated
911
* Dropped support for Python 3.8 and older.
1012
### Security

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ arguments are:
173173
model that minimizes response time, at the cost of translation quality.
174174
- `tag_handling`: type of tags to parse before translation, options are `'html'`
175175
and `'xml'`.
176+
- `extra_body_parameter`: Dictionary of extra parameters to pass in the body of
177+
the HTTP request. Mostly used by DeepL employees to test functionality, or for
178+
beta programs.
176179

177180
The following options are only used if `tag_handling` is `'xml'`:
178181

0 commit comments

Comments
 (0)