-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Right now we only expose name, rank = tax[tax_id] in Python, but we should add a way to set properties via indexing for ergonomics. I think this could either take the form of:
- a dedicated
TaxonomyNodeobject that mediates editing with the taxonomy (internally it would probably keep a reference the same way theTaxonomyIteratordoes) - a
namedtupleas the return and treating it the same was as a dedicated object above - a regular tuple as the return and some sort of coercion on setting from other tuples with fewer element; this seem more brittle than the other options
Metadata
Metadata
Assignees
Labels
No labels