You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we consider stating the id in the tutorial text/comments? That way if the dataset is not correctly found by name (e.g. because a newer version is uploaded which breaks the example), users can refer to the id?
If dataset is retrieved by name, a version may be specified.
If no version is specified and multiple versions of the dataset exist,
the earliest version of the dataset that is still active will be returned.
If no version is specified, multiple versions of the dataset exist and
``exception_if_multiple`` is set to ``True``, this function will raise an exception.
On another note, reading the documentation, I think we can put the dataset version in the function call, that should also work. We can even give the error_if_multiple its default value for users to understand that the function has quite a bit to offer.
Activity
PGijsbers commentedon Apr 28, 2021
Should we consider stating the id in the tutorial text/comments? That way if the dataset is not correctly found by name (e.g. because a newer version is uploaded which breaks the example), users can refer to the id?
ArlindKadra commentedon Apr 28, 2021
Hey @PGijsbers, I had the same thought and I fully agree with it. I will do that too.
ArlindKadra commentedon Apr 28, 2021
On another note, reading the documentation, I think we can put the dataset version in the function call, that should also work. We can even give the
error_if_multipleits default value for users to understand that the function has quite a bit to offer.mfeurer commentedon Apr 29, 2021
Yes, that sounds like a good idea.
You could add that to the datasets example.