tlc.core.objects.tables.from_table.filtered_table_criteria.bool_filter_criterion#

Module Contents#

Classes#

Class

Description

BoolFilterCriterion

A BoolFilterCriterion is a predicate that can be applied to an object’s attribute to determine whether the object matches the criterion.

API#

class tlc.core.objects.tables.from_table.filtered_table_criteria.bool_filter_criterion.BoolFilterCriterion(attribute: str | None = None, bool_value: bool | None = None, init_parameters: Any = None)#

Bases: tlc.core.objects.tables.from_table.filtered_table_criteria.filter_criterion.ColumnFilterCriterion

A BoolFilterCriterion is a predicate that can be applied to an object’s attribute to determine whether the object matches the criterion.

Initialize a new BoolFilterCriterion.

Parameters:
  • attribute – The name of the attribute to which the criterion applies.

  • bool_value – The boolean value to match.

  • init_parameters – The initial parameters for the creating the criterion.

static from_any(any_filter_criterion: Mapping | tlc.core.objects.tables.from_table.filtered_table_criteria.filter_criterion.FilterCriterion) tlc.core.objects.tables.from_table.filtered_table_criteria.bool_filter_criterion.BoolFilterCriterion#