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)
or
>>> my_query.execute_query_retry(timeout_=TIMEOUT)
Remember to do $ python3 -m pip uninstall office365-rest-python-client
first if you have the original module installed, since both modules have the same name.
Under the MIT License, as the original Office365-REST-Python-Client.
And I take no credit for this module, sine 99.99% of the code comes from the original project.
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
Hashes for Office365_REST_with_timeout-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b292410dee0a48808cc2bf727ace08432f9ad7314e093a7d883d0bff70bdc126 |
|
MD5 | 743e2e78e9f1b420615d20e386e61b35 |
|
BLAKE2b-256 | 2610d27c917834af7b10c5f5c6cd8866eb5c1b7c03baa68a6f25767109f6199a |
Hashes for Office365_REST_with_timeout-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f8529bdffa2a21102fbf53eb57af6e80a96f37d30d5e3c99cdd00e94c7c143d |
|
MD5 | 2835ad783201065607b6dbd987133033 |
|
BLAKE2b-256 | 97032a1555507b3daad05701e2ef383cb7eb1e2948dbf677070b4fefe037c880 |