Skip to content

Refactor code to use a label and a path for taxonomies #574

Description

@alexgarel

Currently we have TAXONOMY_NAMES in constants.ts that list name without associating them with a path of the taxonomy.

And then in utils.py taxonomy_path_in_repository we use a hack to add the / at the right place.

This is ugly !

Associate TAXONOMY_NAMES with a path, and use this path in the API to specify the taxonomy location.

Also the available taxonomies (path and names) should be an API. And the list should be configurable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions