Office365 REST package with timeout added.
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0ebf4d64f5ebed1e6ffec3597afa977ff86635deba240f68da7fc412e103517 |
|
MD5 | 4caeb95661ff4ddfd83c3dd03b8e37d1 |
|
BLAKE2b-256 | 4856201e13d78c56a06a8de0b74b0af60399b7d71eb4cc83261aa18f7684705e |
Close
Hashes for office365_REST_with_timeout-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45dfbc5be77bdc4f7958640dbe226496f12f4345c640fa3b47b3b585200c10de |
|
MD5 | da21036b5f99d57ddb19815c8f635ffb |
|
BLAKE2b-256 | e1b52e8169dbbfe89389639f154e1aa2e8dbece61309c8e5e96e0c44f497fc6d |