I think there is some logic duplication:

Method get_queries returns filter_by_tags results and on the next line returned data processed by filter_by_tags function too

1 Like