A small example package
Project description
This is the same project as Office365-REST (https://github.com/vgrem/Office365-REST-Python-Client), but with the addition of a timeout_ variable in execute_query(), which gets passed down to requests.get. This prevents the execution from hanging indefinitely.
To execute a query with a timeout, simply add the following argument at the end:
>>> TIMEOUT=10
>>> my_query.execute_query(timeout_=TIMEOUT)
It also works with execute_query_retry(timeout_=TIMEOUT)
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for Office365_REST_with_timeout-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e92b5239f95cbf865c8c1d6a7dff6ac8b3389f5fc0fbae7bfe36f3b452929ed7 |
|
MD5 | 84fa6a23d03c72dee34d04b0538e0b5b |
|
BLAKE2b-256 | 9717a0394e009004c913e34983d5c8f4b24efdd1729a022a6b193214b3e6e2ae |
Close
Hashes for Office365_REST_with_timeout-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7865bf2a1a378cb5282f5977ef919f1ae3594b9d670cd5ec7ad425c9212fad63 |
|
MD5 | 6115ebaf6cefb30aef2de238f73271b3 |
|
BLAKE2b-256 | 442838bcbef777bb15bd149aa52551789752bc61f0a67b1394c7fe7052362c88 |