Skip to content

Flush cache on function get_rows() #9

Description

@Syrka

Function get_rows() without query param returns the right value, but if following you use get_rows(query='...'), with a query param, the result is wrong, and it returns the same as get_rows().

The problem is the condition if self.query is not None and self.query != new_query: in function get_rows(), because you have to do the _flush_cache()

I've just deleted self.query is not None, and now it works perfectly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions