Skip to content

Commit

Permalink
Python: add optional max_parallel_api_requests to Client construc…
Browse files Browse the repository at this point in the history
…tor (iotaledger#1802)

* Python: add optional `max_parallel_api_requests` to `Client` constructor

* Update bindings/python/CHANGELOG.md

Co-authored-by: Thibault Martinez <[email protected]>

---------

Co-authored-by: Thibault Martinez <[email protected]>
  • Loading branch information
Thoralf-M and thibault-martinez committed Dec 21, 2023
1 parent e86f7bf commit 0da084d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bindings/python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security -->

## 1.1.3 - 202Y-MM-DD

### Added

- Optional `max_parallel_api_requests` to `Client` constructor;

## 1.1.2 - 2023-12-01

### Added
Expand Down
3 changes: 3 additions & 0 deletions bindings/python/iota_sdk/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def __init__(
local_pow: Optional[bool] = None,
fallback_to_local_pow: Optional[bool] = None,
pow_worker_count: Optional[int] = None,
max_parallel_api_requests: Optional[int] = None,
client_handle=None
):
"""Initialize the IOTA Client.
Expand Down Expand Up @@ -92,6 +93,8 @@ def __init__(
Fallback to local proof of work if the node doesn't support remote PoW.
pow_worker_count :
The amount of threads to be used for proof of work.
max_parallel_api_requests :
Set maximum parallel API requests.
client_handle :
An instance of a node client.
"""
Expand Down

0 comments on commit 0da084d

Please sign in to comment.