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
parent
commit
7bdd54697b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      CONTRIBUTING.md
  2. 5
      src/keycloak/openid_connection.py

2
CONTRIBUTING.md

@ -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
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
## How to release

5
src/keycloak/openid_connection.py

@ -119,7 +119,10 @@ class KeycloakOpenIDConnection(ConnectionManager):
self.headers = {**self.headers, "Content-Type": "application/json"}
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

Loading…
Cancel
Save