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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Office365_REST_with_timeout-0.1.1.tar.gz.
File metadata
- Download URL: Office365_REST_with_timeout-0.1.1.tar.gz
- Upload date:
- Size: 201.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b292410dee0a48808cc2bf727ace08432f9ad7314e093a7d883d0bff70bdc126
|
|
| MD5 |
743e2e78e9f1b420615d20e386e61b35
|
|
| BLAKE2b-256 |
2610d27c917834af7b10c5f5c6cd8866eb5c1b7c03baa68a6f25767109f6199a
|
File details
Details for the file Office365_REST_with_timeout-0.1.1-py3-none-any.whl.
File metadata
- Download URL: Office365_REST_with_timeout-0.1.1-py3-none-any.whl
- Upload date:
- Size: 427.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f8529bdffa2a21102fbf53eb57af6e80a96f37d30d5e3c99cdd00e94c7c143d
|
|
| MD5 |
2835ad783201065607b6dbd987133033
|
|
| BLAKE2b-256 |
97032a1555507b3daad05701e2ef383cb7eb1e2948dbf677070b4fefe037c880
|