Closed mih closed 1 week ago
a return value of None means either the object doesn't exist or you don't have permission to access it. This lack of distinction between the two comes from the KG.
In the case you mention, I can access it with both my main and testing account (the latter doesn't have many permissions).
I also have this problem with a dataset version I can view in the KG editor. This dataset version is unreleased, does that matter?
If it is unreleased, you can try with .from_id(<uuid>, client, scope="in progress")
By default, scope is "released". You can also use scope="any"
to try both scopes.
An explanation of what a return value of None means should be added to the docstring of from_id()
.
I assumed this to be universally applicable and only error in case of wrong identifiers are lack of permissions. However
https://search.kg.ebrains.eu/instances/242f7522-8553-4c4f-a067-0b79f0b02199
Shows dataset info that seems to be inaccessible via
fairgraph
to me.