Skip to content

Add a method to check required element types

The helper check_required_types would take a list of element type slugs, and check that ALL of them are available on a given corpus.

If some types are missing, raise an Exception with all the missing types mentionned.

Otherwise return True.

Refs https://gitlab.com/arkindex/requests/-/issues/377