dandi / dandi/dandi-archive

services: define and use "scope"

Open
#2,048 0 comments 0 reactions 0 assignees View on GitHub
UX
Dominant language
Python
Stars
26
Forks
21
Avg merge
4d 23h
Merged PRs (30d)
15

Description

Came up in the context of
- https://github.com/dandi/dandi-archive/pull/2041
- https://github.com/dandi/dandi-archive/issues/1993#issuecomment-2414421776

we could add services not only for assets but also
- `dataset` (generic, non-DANDI specific term so could later be reused by others)
- `directory` ("folder" is forbidden in BIDS)
- `file` (generic, non-DANDI specific)

so then corresponding selection of services could be picked up.

I think it is ok to have `scope: str` (not a `list[str]`) since for every scope there would be different URL and potentially descriptive "categories", as per
- #2047

Contributor guide

No contributing guide indexed for this repository

Research direction

Read pull request #2041, issue #1993 and its linked comment, and issue #2047 first. Resolve how dataset, directory, file, and asset scopes map to service selection, URLs, and descriptive categories, then define the scope behavior and its completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.