[docs]classFileValidatorBase(ABC):""" Abstract base class for validating a simulation output file. """
[docs]@abstractmethoddefconfigure(self,arguments:dict):""" Configure the validator with the given arguments. Needs to be able to configure the validator from both the options found in the [file_validation] section of the server configuration file, and from the dictionary returned from the options() method. """
[docs]@abstractmethoddefoptions(self)->dict:""" Return a dictionary of options required to configure the validator into the same state. """
[docs]@abstractmethoddefvalidate_uri(self,uri:SimDBUrl,validate_options):""" Validate the given simulation output file. """