Skip to content

FilterCollection

implementation of the filter collection

FilterCollection

Canonical path: Utils.ElementFilter.FilterCollection.FilterCollection

Bases: BaseFilterObject

implementation of the filter collection

__call__

__call__(element: BaseElementAdapter) -> bool

execute the filter collection

Parameters:

Returns:

  • bool

    element fulfills the filter: True/False

__init__

__init__(and_filter: bool = False)

initialize

Parameters:

  • and_filter (bool, default: False ) –

    combine the filters with an AND operation

append

append(ele_filter: BaseFilterObject | SelectionQuery)

append a filter

Parameters:

Placeholder