cleverly.MethodAvailability#
- class cleverly.MethodAvailability(name: str, available: bool, refusal: Refusal | None = None)[source]#
Report whether a method can estimate an identified effect.
- Parameters:
- name
str Method name accepted by
estimate(method=...).- availablebool
Whether the method supports the identified functional. The record is per method name. A configuration of an available method can still refuse before any learner.
- refusal
RefusalorNone The record of the refusal when
availableis false: its reason code, the failed condition and the alternative.reasonis its text, and a selection of the method raises the same record.
- name