openmnglab.model.datamodel.interface.IOutputDataScheme#
- class openmnglab.model.datamodel.interface.IOutputDataScheme[source]#
Bases:
ABCScheme for data that is produced by a function.
- __init__()#
Methods
__init__()validate(data_container)Validates that a data container fits this scheme.
- abstract validate(data_container: IDataContainer) bool[source]#
Validates that a data container fits this scheme.
If this is not the case, the function may either raise an exception containing further details on why the validation failed or just return
False:raise DataSchemeConformityError: If the schemes are not compatible to each other and detailed information is available :param data_container: Data container to validate :return:Trueif the data container conforms to this scheme,Falseotherwise.