Created
August 28, 2013 15:05
-
-
Save andrewcstewart/6367096 to your computer and use it in GitHub Desktop.
fcrepo api error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [26]: pid = client.getNextPID(u'foo') | |
--------------------------------------------------------------------------- | |
AttributeError Traceback (most recent call last) | |
<ipython-input-26-9c5d45fed03c> in <module>() | |
----> 1 pid = client.getNextPID(u'foo') | |
/Library/Python/2.7/site-packages/fcrepo/client.pyc in getNextPID(self, namespace, numPIDs, format) | |
19 | |
20 def getNextPID(self, namespace, numPIDs=1, format=u'text/xml'): | |
---> 21 request = self.api.getNextPID() | |
22 response = request.submit(namespace=namespace, | |
23 numPIDs=numPIDs, | |
AttributeError: 'API' object has no attribute 'getNextPID' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment