firecrown.descriptors.TypeLikelihood

class firecrown.descriptors.TypeLikelihood[source]

Bases: Validator

Likelihood attribute descriptor.

Public Methods:

__init__()

validate(value)

Abstract method to perform whatever validation is required.

Inherited from Validator

__set_name__(owner, name)

Create the name of the private instance variable that will hold the value.

__get__(obj[, objtype])

Accessor method, which reads controlled value.

__set__(obj, value)

Setter for the validated variable.

validate(value)

Abstract method to perform whatever validation is required.


validate(value)[source]

Abstract method to perform whatever validation is required.