datalad_next.constraints.EnsureBool

class datalad_next.constraints.EnsureBool[source]

Bases: Constraint

Ensure that an input is a bool.

A couple of literal labels are supported, such as: False: '0', 'no', 'off', 'disable', 'false' True: '1', 'yes', 'on', 'enable', 'true'

long_description()[source]

This method is deprecated. Use input_description instead

short_description()[source]

This method is deprecated. Use input_synopsis instead