dandi / dandi/dandi-cli

request: dandiset.get_owners()

Open
#1,208 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
28
Forks
37
Avg merge
1d 17h
Merged PRs (30d)
9

Description

Is it possible to retrieve the owners of a dandiset? I would like something like:

```python
dandiset.get_owners() or dandiset.owners
```

this could return just the github usernames, e.g.
```
["bendichter", "luiztauffer"]
```

or a list of dictionaries with more information:

```
[
{"github_username": "bendichter", "name": Ben Dichter"},
{"github_username": "luiztauffer", "name": "Luiz Tauffer"},
]
```

For context, I was talking to Jerome Lecoq about a dandiset he owns and he said he lost access.

> Hi Ben, somehow I lost access to [[Allen Institute Openscope - Meaningful project](https://dandiarchive.org/dandiset/000036)] too ! I suspect this is some entry in the database that could corrupted?

I suspected that Jerome might have two different GitHub accounts that are both registered with DANDI and I wanted to use the python API to determine what GitHub account owns this dandiset. Both GitHub accounts could have the display name "Jerome Lecoq" so the web UI display is not helpful here:

image

Is there a convenient way to access this information? Is this already implemented somewhere?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.