Skip to content

Commit

Permalink
Remove timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
GB27247 committed Apr 2, 2024
1 parent 71b4c33 commit cfabc4d
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 cfabc4d

Please sign in to comment.