Issue #2 resolved

requests api incompatibility

drewp
created an issue

With new requests, and even with 1.0.4 as you listed, I get a typeerror on self.session = requests.session({'Accept': 'application/json', 'Content-Type': 'application/json'}) in lib.py

This seems to work:

        self.session = requests.session()
        self.session.headers.update({'Accept': 'application/json',
                     'Content-Type': 'application/json'})

Comments (5)

  1. Aditya Kulkarni

    I am enjoying using this module and would like to use it for my everyday workflow. I am facing the same issue. Currently I have fixed the code in the install directory manually and am able to develop against it. Any ideas on when the fix will be on pip mzwick ?

  2. Log in to comment