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