This is a pretty straightforward question I am hoping someone can help explain. There might be some knowledge gaps - so forgive any glaring gaps in advance.
In the boxsdk repo they give a quick example how to set up boxsdk with JWT OAth. (https://github.com/box/box-python-sdk)
They provide the following code:
pip install boxsdk[jwt]
However - this pip install doesn't work as a result of the square brackets.
Question: What are the square brackets around the jwt indicative of and why might it not install on my local?
The standard installation with underlying repositories seems to work however when I run the code to instantiate the JWTAuth class....
from boxsdk import JWTAuthauth = JWTAuth(client_id='XXXX',client_secret='XXX',enterprise_id=12345,jwt_key_id='XXXX',rsa_private_key_file_sys_path='/path/CERT.PEM',)
I get a ...
TypeError: 'NoneType' object is not callable
Which leads me to believe that the
pip install boxsdk[jwt]
is relevant to the issue at hand as I couldn't find a culprit in my call or in the code in the sdk.
Any help much appreciated - thanks all