Skip to content

Commit a95cf9a

Browse files
committed
compulsory request timeout
Signed-off-by: Praneeth Bedapudi <[email protected]>
1 parent 80a0400 commit a95cf9a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

clients/python/fdclient/client.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,11 @@
1717

1818

1919
class FDClient:
20-
def __init__(self, server_url, compression=True, request_timeout=None):
20+
def __init__(self, server_url, request_timeout, compression=True):
2121
assert server_url.startswith("http://") or server_url.startswith(
2222
"https://"
2323
), "Server URL must start with http:// or https://"
2424

25-
assert (
26-
server_url.count("/") == 2
27-
), "Server URL must be in the format http(s)://<ip>:<port>"
28-
2925
self.server_url = server_url
3026
self.local_storage = threading.local()
3127
self.requests_session = requests.Session()

clients/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
AUTHOR = "BEDAPUDI PRANEETH"
2020
REQUIRES_PYTHON = ">=3.6.0"
21-
VERSION = "3.0.7"
21+
VERSION = "3.0.8"
2222

2323
# What packages are required for this module to be executed?
2424
REQUIRED = ["zstandard", "requests", "msgpack"]

0 commit comments

Comments
 (0)