Skip to content

Commit

Permalink
Merge pull request #1193 from gchq/remove-timeout-python
Browse files Browse the repository at this point in the history
Remove timeout
  • Loading branch information
GB27247 authored Apr 2, 2024
2 parents 71b4c33 + cfabc4d commit b0117ee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/python/src/bailo/core/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ class Agent:
"""Base API Agent for talking with Bailo.
Wraps each request in an exception handler that maps API errors to Python Bailo errors, among status codes less than 400.
Defaults request timeout to 5 seconds.
"""

def __request(self, method, *args, **kwargs):
if "timeout" not in kwargs:
kwargs["timeout"] = 5
if "verify" not in kwargs:
kwargs["verify"] = True

Expand Down

0 comments on commit b0117ee

Please sign in to comment.