We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d2112b commit 467f9a9Copy full SHA for 467f9a9
webexteamssdk/restsession.py
@@ -162,7 +162,8 @@ def single_request_timeout(self):
162
def single_request_timeout(self, value):
163
"""The timeout (seconds) for a single HTTP REST API request."""
164
check_type(value, int, optional=True)
165
- assert value is None or value > 0
+ if value is not None and value <= 0:
166
+ raise ValueError("single_request_timeout must be positive integer")
167
self._single_request_timeout = value
168
169
@property
0 commit comments