Shopify / pyoozie

Library for querying and scheduling with Apache Oozie
https://py-oozie.readthedocs.io
MIT License
11 stars 12 forks source link

Replace requests convenience methods with session object #81

Closed evadb closed 5 years ago

evadb commented 5 years ago

This PR adds a requests.Session() object to OozieClient and replaces the requests convenience methods with the session. This allows OozieClient to pool connections and make more effective use of server resources.

This will also allow users to pass in their own customized sessions if required.