BlueBrain / BlueBrain/nexus-forge

Function to retrieve the schema_id of a type

Open
#266 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
52
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The idea came up when I tried to find the right `schema_id` for annotations, as when I tried to use the id I could get from the annotation schema definition in Fusion, i.e. `https://neuroshapes.org/commons/annotation`, but it gave an error. The correct schema_id was: `https://neuroshapes.org/dash/annotation`, that can be also given as `datashapes:annotation`. This is why it would be good to have a function that provides the correct schema_id.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests, so first search the Python package for schema_id handling and the type or schema lookup entry point. Reproduce the annotation examples using the commons URL, dash URL, and datashapes:annotation form; done means the function returns the correct schema_id for these inputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.