validate_extractor_contract#
Defined in: voxatlas.registry.validator
- voxatlas.registry.validator.validate_extractor_contract(extractor_cls)[source]#
Validate extractor contract against VoxAtlas API rules.
This function supports the public feature registry contract used to discover, validate, and resolve extractor classes before execution.
- Parameters:
extractor_cls (object) – Extractor class to validate or register with the central feature registry.
- Returns:
Return value produced by this API.
- Return type:
object
Examples
>>> from voxatlas.features.example_pitch import DummyPitchExtractor >>> from voxatlas.registry.validator import validate_extractor_contract >>> validate_extractor_contract(DummyPitchExtractor) is None True