ModelOnlyBaseCheck#

class ModelOnlyBaseCheck[source]#

Parent class for checks that only use a model and no datasets.

__init__(**kwargs)[source]#
__new__(*args, **kwargs)#

Attributes

ModelOnlyBaseCheck.context_type

Methods

ModelOnlyBaseCheck.add_condition(name, ...)

Add new condition function to the check.

ModelOnlyBaseCheck.clean_conditions()

Remove all conditions from this check instance.

ModelOnlyBaseCheck.conditions_decision(result)

Run conditions on given result.

ModelOnlyBaseCheck.config([include_version, ...])

Return check configuration (conditions' configuration not yet supported).

ModelOnlyBaseCheck.from_config(conf[, ...])

Return check object from a CheckConfig object.

ModelOnlyBaseCheck.from_json(conf[, ...])

Deserialize check instance from JSON string.

ModelOnlyBaseCheck.metadata([with_doc_link])

Return check metadata.

ModelOnlyBaseCheck.name()

Name of class in split camel case.

ModelOnlyBaseCheck.params([show_defaults])

Return parameters to show when printing the check.

ModelOnlyBaseCheck.remove_condition(index)

Remove given condition by index.

ModelOnlyBaseCheck.run(model, **kwargs)

Run check.

ModelOnlyBaseCheck.to_json([indent, ...])

Serialize check instance to JSON string.