dandi / dandi/dandi-cli

model: access doesn't survive R/T

Open
#343 7 comments 0 reactions 1 assignee Claimed by @satra View on GitHub
Dominant language
Python
Stars
28
Forks
37
Avg merge
1d 17h
Merged PRs (30d)
9

Description

```
(Pdb) DandiMeta.unvalidated(identifier='0001').dict(exclude_none=True)
{'identifier': '0001', 'schemaVersion': '1.0.0-rc1', 'access': [{'status': }], 'repository': 'https://dandiarchive.org/'}
(Pdb) DandiMeta.unvalidated(**json.loads(DandiMeta.unvalidated(identifier='0001').json(exclude_none=True))).dict(exclude_none=True)
{'identifier': '0001', 'schemaVersion': '1.0.0-rc1', 'access': [{'status': 'dandi:Open'}], 'repository': 'https://dandiarchive.org/'}
```

so you can see that it putates from `[{'status': }]` to ` 'access': [{'status': 'dandi:Open'}]`

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.