dataverse-client-python
dataverse-client-python copied to clipboard
`Dataset.id` errors b/c some entries in `Dataverse.get_contents` are lacking fields.
Hello!
On the OSF, we've had a few users who can't connect their dataverse datasets to their projects. The symptom is that when we try to call the id property of the dataset we're getting a KeyError: 'protocol' on this line. The entry that is causing the problem has the following fields:
{u'id': 1781, u'title': u'Carl Klarner Dataverse', u'type': u'dataverse'}
This seems to have only started recently, so I'm wondering if the recent 4.10.x updates changed the "Show Contents of a Dataverse" Native endpoint to return something else. Is this something that needs to be fixed in the library or is this a regression in the DV API? Thank you!
Cheers, @felliott
@felliott interesting! I sure hope not. Can I please trouble you to open an issue at https://github.com/IQSS/dataverse/issues because that's the issue tracker that we use in estimation and sprint planning and https://waffle.io/IQSS/dataverse
@felliott ah, you already created https://github.com/IQSS/dataverse/issues/5500 ! Perfect! Thank you!