Metadata-Version: 2.1
Name: office365_REST_with_timeout
Version: 0.0.5
Summary: Office365 REST package with timeout added.
Home-page: https://github.com/mmitjansc/Office365-REST-with-timeout
Author: Office365
Author-email: author@example.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/mmitjansc/Office365-REST-with-timeout
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

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)`.

