sqla get_queryset() without self

I tried to use the master branch and get this error with SQLAlchemy:

TypeError: get_queryset() takes no arguments (1 given)