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.

Args: attribute (str): The name of the attribute to which the criterion applies. bool_value (bool): The boolean value to match.

A filter criterion who’s predicate is only applied to a single column or attribute of the row.

Parameters:

attribute – The name of the attribute to which the criterion applies.

static from_any(any_filter_criterion: Any) tlc.core.objects.tables.from_table.filtered_table_criteria.bool_filter_criterion.BoolFilterCriterion#