Skip to content

Commit 595a598

Browse files
authored
docs: document correct service method for http configuration (#708)
The function `with_http_config` is defined and used in the unit tests in the core but is not a method on the service client. It should not be documented - the correct method is `set_http_config`
1 parent 2d06b99 commit 595a598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ For more information, follow the [MIGRATION-V4](https://github.com/watson-develo
265265
To move from v3.x to v4.0, refer to the [MIGRATION-V4](https://github.com/watson-developer-cloud/python-sdk/blob/master/MIGRATION-V4.md).
266266

267267
## Configuring the http client (Supported from v1.1.0)
268-
To set client configs like timeout use the `with_http_config()` function and pass it a dictionary of configs. For example for a Assistant service instance
268+
To set client configs like timeout use the `set_http_config()` function and pass it a dictionary of configs. For example for a Assistant service instance
269269

270270
```python
271271
from ibm_watson import AssistantV1

0 commit comments

Comments
 (0)