infocentre_data_manager.plugins.data_validators.base

base.py

This module includes the base plugin interface for data fetchers.

Classes

  • DataValidator: Plugin that implements different validation schemes for HPV Information
class infocentre_data_manager.plugins.data_validators.base.DataValidator

Plugin that implements different validation schemes for HPV Information Centre data, before uploading to a production database.

Inheritance

Inheritance diagram of DataValidator
static apply(data_dict, validators)

Apply list of validators to data and accumulate the results.

Parameters:
  • data_dict – Data structured
  • validators – List of strings identifying the validators to be applied.