Using list_query #657
Replies: 1 comment
-
Re/overwriting them like so is the answer. def list_query(self, request: Request) -> Select:
return select(models.Asset).filter(not models.Asset.archived or models.Asset.archived.is_(None)) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following model form the 14.x releases.
How can I convert this to the new 15.x style of list_query?
Beta Was this translation helpful? Give feedback.
All reactions