| | |
- builtins.object
-
- MetaValidator
- ValidationError
class MetaValidator(builtins.object) |
| |
Class meta data validator |
| |
Methods defined here:
- __init__(self, metaRecord)
- Initialize self. See help(type(self)) for accurate signature.
- getValidationErrors(self)
- Method to get validation errors
- hasMandatoryField(self, fieldName)
- Method check if fieldName is a mandatory field
- hasMandatoryFields(self)
- Method check if has mandatory fields
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- MANDATORY_FIELDS = ['session_id', 'hostname', 'metrics', 'session_start_date']
|
class ValidationError(builtins.object) |
| |
Class for validation error |
| |
Methods defined here:
- __init__(self, error)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |