Skip to content

feat(TaxonomyNode): children method parity with parent methods#467

Open
Freso wants to merge 1 commit intoopenfoodfacts:developfrom
Freso:feat/taxonomy-child-methods
Open

feat(TaxonomyNode): children method parity with parent methods#467
Freso wants to merge 1 commit intoopenfoodfacts:developfrom
Freso:feat/taxonomy-child-methods

Conversation

@Freso
Copy link
Copy Markdown
Contributor

@Freso Freso commented Mar 31, 2026

Description

  • There are currently a handful of functions that handle parentage lookups. Two of these methods currently only exist for parents and are a lacking a “child” equivalent.

Solution

  • This adds TaxonomyNode.is_child_of() and .get_children_hierarchy(), copying the logic of their parent[s] method equivalents.

Related issue(s)

There are currently a handful of functions that handle parentage
lookups. Two of these methods currently only exist for parents and
are a lacking a “child” equivalent.

This adds TaxonomyNode.is_child_of() and .get_children_hierarchy(),
copying the logic of their `parent[s]` method equivalents.
@Freso Freso force-pushed the feat/taxonomy-child-methods branch from 5e59f79 to f519cec Compare March 31, 2026 10:59
@sonarqubecloud
Copy link
Copy Markdown

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant