-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Example:
>>> from opa_client import OpaClient
>>> OpaClient(
... host='localhost',
... port=5000,
... timeout=10.0,
... retries=5,
... )
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/haoli/.pyenv/versions/tower-release_4.6/lib/python3.11/site-packages/opa_client/opa.py", line 43, in __init__
super().__init__(*args, **kwargs)
TypeError: BaseClient.__init__() got an unexpected keyword argument 'retries'Further more it seems that in the BaseClient.init() self.timeout and self.retries are being hardcoded https://github.com/Turall/OPA-python-client/blob/master/opa_client/base.py#L44-L45
fosterseth and jerabekjiri
Metadata
Metadata
Assignees
Labels
No labels