Browse Source
fix: passing timeout values to ConnectionManager (#578)
* fix: passing timeout values to ConnectionManager
* fix linting
---------
Co-authored-by: Ilja Stakanovs <ilja.stakanovs@decta.com>
pull/581/head
v4.2.1
Ilja S
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
2 deletions
-
CONTRIBUTING.md
-
src/keycloak/openid_connection.py
|
@ -86,7 +86,7 @@ pre-commit install --install-hooks -t pre-commit -t pre-push -t commit-msg |
|
|
|
|
|
|
|
|
1. Fork this repository, develop and test your changes |
|
|
1. Fork this repository, develop and test your changes |
|
|
2. Make sure that your changes do not decrease the test coverage |
|
|
2. Make sure that your changes do not decrease the test coverage |
|
|
3. Make sure you're commits follow the conventional commits |
|
|
|
|
|
|
|
|
3. Make sure your commits follow the conventional commits |
|
|
4. Submit a pull request |
|
|
4. Submit a pull request |
|
|
|
|
|
|
|
|
## How to release |
|
|
## How to release |
|
|
|
@ -119,7 +119,10 @@ class KeycloakOpenIDConnection(ConnectionManager): |
|
|
self.headers = {**self.headers, "Content-Type": "application/json"} |
|
|
self.headers = {**self.headers, "Content-Type": "application/json"} |
|
|
|
|
|
|
|
|
super().__init__( |
|
|
super().__init__( |
|
|
base_url=self.server_url, headers=self.headers, timeout=60, verify=self.verify |
|
|
|
|
|
|
|
|
base_url=self.server_url, |
|
|
|
|
|
headers=self.headers, |
|
|
|
|
|
timeout=self.timeout, |
|
|
|
|
|
verify=self.verify, |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
@property |
|
|
@property |
|
|