Example code for backend filtering with derived_filter_query_structure and parentheses in filter_query

Dear all,

The example Python code on this page


that describes backend filtering with pandas and derived_filter_query_structure, does not work when filter_query has parentheses, probably because the example code does not consider open_block operator types.

Does anyone have an example code that works with parentheses?

Best regards,