Firebase get request: TypeError: __init__() got an unexpected keyword argument 'strict'
Question: Trying to get Firebase set up and this code produces the error. I've also
tried making the restful call simply using `requests` and I'm getting the
exact same error. I'm using python 3.4. What's going on here?

    
    
    from firebase import firebase
    firebase = firebase.FirebaseApplication('https://testDB-72927.firebaseio.com/', authentication=None)
    result = firebase.get('/test', None)
    print(result)
    
    
    Traceback (most recent call last):
      File "/Users/Parthenon/Desktop/TestProject/Test.py", line 19, in <module>
        firstFunc(mylist)
      File "/Users/Parthenon/Desktop/TestProject/Test.py", line 14, in firstFunc
        result = firebase.get('/test', None)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/firebase/decorators.py", line 19, in wrapped
        return f(*args, **kwargs)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/firebase/firebase.py", line 274, in get
        return make_get_request(endpoint, params, headers, connection=connection)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/firebase/decorators.py", line 19, in wrapped
        return f(*args, **kwargs)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/firebase/firebase.py", line 38, in make_get_request
        response = connection.get(url, params=params, headers=headers, timeout=timeout)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/requests/sessions.py", line 310, in get
        return self.request('GET', url, **kwargs)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/requests/sessions.py", line 279, in request
        resp = self.send(prep, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/requests/sessions.py", line 374, in send
        r = adapter.send(request, **kwargs)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/requests/adapters.py", line 174, in send
        timeout=timeout
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 417, in urlopen
        conn = self._get_conn(timeout=pool_timeout)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 232, in _get_conn
        return conn or self._new_conn()
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 547, in _new_conn
        strict=self.strict)
    TypeError: __init__() got an unexpected keyword argument 'strict'
    


Answer: My requests module was not up to date.

    
    
    sudo pip install requests --upgrade
    

