# sqlalchemy 2.1.9 (MIT), harvested by tools/harvest_corpus.py
=== input
Construct a Boolean.

        :param create_constraint: defaults to False.  If the boolean
          is generated as an int/smallint, also create a CHECK constraint
          on the table that ensures 1 or 0 as a value.

          .. note:: it is strongly recommended that the CHECK constraint
             have an explicit name in order to support schema-management
             concerns.  This can be established either by setting the
             :paramref:`.Boolean.name` parameter or by setting up an
             appropriate naming convention; see
             :ref:`constraint_naming_conventions` for background.

          .. versionchanged:: 1.4 - this flag now defaults to False, meaning
             no CHECK constraint is generated for a non-native enumerated
             type.

        :param name: if a CHECK constraint is generated, specify
          the name of the constraint.

        
=== parse rest
short_description: 'Construct a Boolean.'
blank_after_short_description: True
blank_after_long_description: False
style: rest
- DocstringParam
  description: |
    defaults to False.  If the boolean
    is generated as an int/smallint, also create a CHECK constraint
    on the table that ensures 1 or 0 as a value.
    
    .. note:: it is strongly recommended that the CHECK constraint
       have an explicit name in order to support schema-management
       concerns.  This can be established either by setting the
       :paramref:`.Boolean.name` parameter or by setting up an
       appropriate naming convention; see
       :ref:`constraint_naming_conventions` for background.
    
    .. versionchanged:: 1.4 - this flag now defaults to False, meaning
       no CHECK constraint is generated for a non-native enumerated
       type.
  kind: param
  key: 'param'
  arg_name: 'create_constraint'
  is_optional: True
  default: 'False'
- DocstringParam
  description: |
    if a CHECK constraint is generated, specify
    the name of the constraint.
  kind: param
  key: 'param'
  arg_name: 'name'
  is_optional: False
=== detect
rest
=== compose rest
Construct a Boolean.

:param create_constraint: defaults to False.  If the boolean
    is generated as an int/smallint, also create a CHECK constraint
    on the table that ensures 1 or 0 as a value.

    .. note:: it is strongly recommended that the CHECK constraint
       have an explicit name in order to support schema-management
       concerns.  This can be established either by setting the
       :paramref:`.Boolean.name` parameter or by setting up an
       appropriate naming convention; see
       :ref:`constraint_naming_conventions` for background.

    .. versionchanged:: 1.4 - this flag now defaults to False, meaning
       no CHECK constraint is generated for a non-native enumerated
       type.
:param name: if a CHECK constraint is generated, specify
    the name of the constraint.
