-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi, following along with the example code in
https://github.com/basespace/basespace-python-sdk/blob/master/examples/2_AppTriggering.py#L77
before running this line, if I check the class of myReference
it turns out to be a dict
, so it does not have the getAccessStr()
method defined on it and running the line above fails:
In [138]: myReference.__class__
Out[138]: dict
In [139]: print myReference.getAccessStr(scope='write')
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-139-62a91ddc162e> in <module>()
----> 1 print myReference.getAccessStr(scope='write')
AttributeError: 'dict' object has no attribute 'getAccessStr'
Has the API changed and the documentation not been updated? I am running version 0.3 of BaseSpacePy.
So what is the recommended way to get an access string in the latest version of the package?
Incidentally the same issue happens on the
Python SDK Overview page. There are other issues there (for example no object BSapi
is ever defined, but it is used in the code example).
Metadata
Metadata
Assignees
Labels
No labels