Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an API to perform checks and info on an entry #80

Open
Tracked by #96
alexgarel opened this issue Sep 13, 2022 · 0 comments
Open
Tracked by #96

Add an API to perform checks and info on an entry #80

alexgarel opened this issue Sep 13, 2022 · 0 comments

Comments

@alexgarel
Copy link
Member

Add an API to perform some checks on an entry.
The requests should be in entries.py

checks:

  • list of parents where one of the language of this entry is missing
  • list of entries that have a synonym identical to this entry
  • list of children that use a synonym instead of a main id to link to this parent (not sure we have the info)

info:

  • shortest and longuest path to root
  • number of descendants
  • properties that are already defined on an ancestor and redefined in the children
  • all inherited properties (of ancestor) with their values
  • list of children than redefine one of the properties of this entry (and which one)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant